[Bug 1720109] Re: snmpd stop on host stops snmpd on LXD containers, but host-restart of snmpd doesnt restart lxd process

Andreas Hasenack andreas at canonical.com
Wed Nov 22 18:50:01 UTC 2017


It's just using an executable match (--exec), instead of a pid:
  stop)
    log_daemon_msg "Stopping SNMP services:"
    start-stop-daemon --quiet --stop --oknodo --retry 3 --exec /usr/sbin/snmpd && [ ! -f $SNMP_PID ] || rm $SNMP_PID


That's the --exec bit.

** Changed in: net-snmp (Ubuntu)
       Status: Confirmed => Triaged

** Summary changed:

- snmpd stop on host stops snmpd on LXD containers, but host-restart of snmpd doesnt restart lxd process
+ snmpd stop on host stops snmpd on LXD containers

** Tags added: server-next

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to net-snmp in Ubuntu.
https://bugs.launchpad.net/bugs/1720109

Title:
  snmpd stop on host stops snmpd on LXD containers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1720109/+subscriptions



More information about the Ubuntu-server-bugs mailing list