[debian-mysql] Bug#782550: mysql-server-5.5: Use /bin/bash instead of /bin/sh for mysqld_safe
Frédéric Brière
fbriere at fbriere.net
Tue Apr 14 00:14:41 UTC 2015
Package: mysql-server-5.5
Version: 5.5.41-0+wheezy1
Severity: wishlist
Due to a bug in dash (#782540), mysqld_safe will kill and restart mysqld
if the latter is stopped with SIGSTOP. Apparently, some VPSes throttle
CPU usage by this mechanism. Hilarity ensues.
Although this is not a bug in mysql per se, using /bin/bash instead of
/bin/sh (which is often dash) would effectively circumvent this bug,
without (I assume) any noticable impact. (If you can afford to run
mysqld, surely you can handle bash as well. <g>)
Note that mariadb already uses bash, albeit for a different reason (LP:
#675185).
-- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 3.16.0-4-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
More information about the pkg-mysql-maint
mailing list