Public bug reported: When trying to stop haproxy using
sudo service haproxy stop or sudo invoke-rc.d haproxy stop The tools exit with status 0, but haproxy is still running. Example: sudo invoke-rc.d haproxy start * Starting haproxy haproxy [ OK ] be@fe2-lb1-test:~$ echo $? 0 be@fe2-lb1-test:~$ sudo invoke-rc.d haproxy stop * Stopping haproxy haproxy [ OK ] be@fe2-lb1-test:~$ echo $? 0 be@fe2-lb1-test:~$ ps aux |grep haproxy haproxy 31719 0.0 1.4 33500 7100 ? Ss 20:08 0:00 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid be 31782 0.0 0.4 11748 2232 pts/2 S+ 20:09 0:00 grep --color=auto haproxy Haproxy version: $ aptitude show haproxy Package: haproxy State: installed Automatically installed: no Version: 1.5.4-1ubuntu2.1~ubuntu14.04.1 ** Affects: trusty-backports Importance: Undecided Status: New ** Tags: haproxy ** Description changed: When trying to stop haproxy using sudo service haproxy stop - - or + + or sudo invoke-rc.d haproxy stop The tools exit with status 0, but haproxy is still running. Example: - sudo invoke-rc.d haproxy start - * Starting haproxy haproxy [ OK ] + + sudo invoke-rc.d haproxy start + * Starting haproxy haproxy [ OK ] be@fe2-lb1-test:~$ echo $? 0 be@fe2-lb1-test:~$ sudo invoke-rc.d haproxy stop - * Stopping haproxy haproxy [ OK ] + * Stopping haproxy haproxy [ OK ] be@fe2-lb1-test:~$ echo $? 0 be@fe2-lb1-test:~$ ps aux |grep haproxy haproxy 31719 0.0 1.4 33500 7100 ? Ss 20:08 0:00 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid be 31782 0.0 0.4 11748 2232 pts/2 S+ 20:09 0:00 grep --color=auto haproxy Haproxy version: $ aptitude show haproxy Package: haproxy State: installed Automatically installed: no Version: 1.5.4-1ubuntu2.1~ubuntu14.04.1 -- You received this bug notification because you are a member of Ubuntu Backporters, which is subscribed to trusty-backports. Matching subscriptions: ubuntu-backporters https://bugs.launchpad.net/bugs/1493995 Title: haproxy does not stop when using service/invoke-rc.d To manage notifications about this bug go to: https://bugs.launchpad.net/trusty-backports/+bug/1493995/+subscriptions -- ubuntu-backports mailing list ubuntu-backports@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-backports