diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2021-05-19 21:05:00 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2021-05-20 08:59:56 +0200 |
commit | 08abb060ab1ce8e9b334eb540481976590d56cd4 (patch) | |
tree | 546a8c6f6dcd041a0e42eb6d5fad4ac6607a68bb /testing/source/mariadb/rc.mysqld | |
parent | 9a7688d56afb84a4619a088de98ba78ac5f996b5 (diff) | |
download | current-08abb060ab1ce8e9b334eb540481976590d56cd4.tar.gz current-08abb060ab1ce8e9b334eb540481976590d56cd4.tar.xz |
Wed May 19 21:05:00 UTC 202120210519210500
a/kernel-firmware-20210518_f846292-noarch-1.txz: Upgraded.
a/kernel-generic-5.10.38-x86_64-1.txz: Upgraded.
a/kernel-huge-5.10.38-x86_64-1.txz: Upgraded.
a/kernel-modules-5.10.38-x86_64-1.txz: Upgraded.
d/kernel-headers-5.10.38-x86-1.txz: Upgraded.
k/kernel-source-5.10.38-noarch-1.txz: Upgraded.
l/imagemagick-7.0.11_13-x86_64-1.txz: Upgraded.
l/pango-1.48.5-x86_64-1.txz: Upgraded.
l/pipewire-0.3.28-x86_64-1.txz: Upgraded.
Config files are now installed in the data dir, system overrides
in /etc/pipewire and $HOME are checked first.
x/libX11-1.7.1-x86_64-1.txz: Upgraded.
This update fixes missing request length checks in libX11 that can lead to
the emission of extra X protocol requests to the X server.
For more information, see:
https://lists.x.org/archives/xorg-announce/2021-May/003088.html
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-31535
(* Security fix *)
x/libdrm-2.4.106-x86_64-1.txz: Upgraded.
xfce/xfce4-screenshooter-1.9.9-x86_64-1.txz: Upgraded.
isolinux/initrd.img: Rebuilt.
kernels/*: Upgraded.
testing/packages/linux-5.12.x/kernel-generic-5.12.5-x86_64-1.txz: Upgraded.
testing/packages/linux-5.12.x/kernel-headers-5.12.5-x86-1.txz: Upgraded.
testing/packages/linux-5.12.x/kernel-huge-5.12.5-x86_64-1.txz: Upgraded.
testing/packages/linux-5.12.x/kernel-modules-5.12.5-x86_64-1.txz: Upgraded.
testing/packages/linux-5.12.x/kernel-source-5.12.5-noarch-1.txz: Upgraded.
usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'testing/source/mariadb/rc.mysqld')
-rw-r--r-- | testing/source/mariadb/rc.mysqld | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/testing/source/mariadb/rc.mysqld b/testing/source/mariadb/rc.mysqld deleted file mode 100644 index 1844fe27a..000000000 --- a/testing/source/mariadb/rc.mysqld +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/sh -# Start/stop/restart mysqld. -# -# Copyright 2003 Patrick J. Volkerding, Concord, CA -# Copyright 2003 Slackware Linux, Inc., Concord, CA -# Copyright 2008, 2013 Patrick J. Volkerding, Sebeka, MN, USA -# -# This program comes with NO WARRANTY, to the extent permitted by law. -# You may redistribute copies of this program under the terms of the -# GNU General Public License. - -# To start MariaDB automatically at boot, be sure this script is executable: -# chmod 755 /etc/rc.d/rc.mysqld - -# Before you can run MariaDB, you must have a database. To install an initial -# database, do this as root: -# -# mysql_install_db --user=mysql -# -# Note that the mysql user must exist in /etc/passwd, and the created files -# will be owned by this dedicated user. This is important, or else mysql -# (which runs as user "mysql") will not be able to write to the database -# later (this can be fixed with 'chown -R mysql.mysql /var/lib/mysql'). -# -# To increase system security, consider using "mysql_secure_installation" -# as well. For more information on this tool, please read: -# man mysql_secure_installation - -# To allow outside connections to the database comment out the next line. -# If you don't need incoming network connections, then leave the line -# uncommented to improve system security. -SKIP="--skip-networking" - -# Start mysqld: -mysqld_start() { - if [ -x /usr/bin/mysqld_safe ]; then - # If there is an old PID file (no mysqld running), clean it up: - if [ -r /var/run/mysql/mysql.pid ]; then - if ! ps axc | grep mysqld 1> /dev/null 2> /dev/null ; then - echo "Cleaning up old /var/run/mysql/mysql.pid." - rm -f /var/run/mysql/mysql.pid - fi - fi - - /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/run/mysql/mysql.pid $SKIP & - fi -} - -# Stop mysqld: -mysqld_stop() { - # If there is no PID file, ignore this request... - if [ -r /var/run/mysql/mysql.pid ]; then - PID=$(cat /var/run/mysql/mysql.pid) - kill $PID - # Wait at least one minute for it to exit, as we don't know how big the DB is... - for second in $(seq 0 60) ; do - if [ ! -r /var/run/mysql/mysql.pid ]; then - break; - fi - sleep 1 - done - if [ "$second" = "60" ]; then - echo "WARNING: Gave up waiting for mysqld to exit!" - sleep 15 - fi - fi -} - -# Restart mysqld: -mysqld_restart() { - mysqld_stop - mysqld_start -} - -case "$1" in -'start') - mysqld_start - ;; -'stop') - mysqld_stop - ;; -'restart') - mysqld_restart - ;; -*) - echo "usage $0 start|stop|restart" -esac |