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
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to