To reproduce:

   apt install haproxy
   for x in {1..100}; do pkill -TERM -x haproxy ; sleep 0.1 ; done
   systemctl status haproxy


Observe that the unit has failed due to exit-code: "Active: failed (Result: 
exit-code)"

To test the fix:

Repeat the steps above with the fixed package installed.

Observe that although the unit may still have failed, it is not due to
exit-code, e.g.: "Active: failed (Result: start-limit-hit)".

If you perform upgrade testing, note that simply installing the fixed
package seems to revive haproxy without needing systemctl reset-failed
haproxy.  Confirm this by checking systemctl status haproxy for "Active:
active (running)" after the upgrade.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848902

Title:
  haproxy in bionic can get stuck

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/1848902/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to