[debian-mysql] Bug#802044: mysql-proxy: `systemctl stop mysql-proxy` fails to kill the running processes

Olivier Le Cam olc at glou.fr
Sat Oct 17 09:25:32 UTC 2015


Package: mysql-proxy
Version: 0.8.1-1.1+b1
Severity: normal

The PID saved in $PIDFILE is not correct. This prevents start-stop-daemon to stop the service.

~# cat /var/run/mysql-proxy.pid
3052

~# pidof mysql-proxy
3055 3054

As a workaround, one can configure mysql-proxy to write the PID by itself, like for example:
-- /etc/default/mysql-proxy:
ENABLED="true"
OPTIONS="--defaults-file=/etc/mysql-proxy/mysql-proxy.conf --log-use-syslog --pid-file=/var/run/mysql-proxy.pid"

-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mysql-proxy depends on:
ii  libc6           2.19-18+deb8u1
ii  libevent-2.0-5  2.0.21-stable-2
ii  libglib2.0-0    2.42.1-1
ii  liblua5.1-0     5.1.5-7.1

mysql-proxy recommends no packages.

mysql-proxy suggests no packages.

-- Configuration Files:
/etc/default/mysql-proxy changed:
ENABLED="true"
OPTIONS="--defaults-file=/etc/mysql-proxy/mysql-proxy.conf --log-use-syslog"


-- no debconf information



More information about the pkg-mysql-maint mailing list