Page MenuHomeVyOS Platform

SNMP service removal fails
Closed, ResolvedPublicBUG

Description

To reproduce:

set service snmp community public network 192.0.2.0/24
set service snmp community public network 2001:db8::/32
set service snmp contact noc@vyos.net
commit

Service runs:

Debian-+    5100  0.4  1.3  24600 13856 ?        Ss   10:34   0:00 /usr/sbin/snmpd -LS0-5d -Lf /dev/null -u Debian-snmp -g Debian-snmp -f -p /run/snmpd.pid

Delete SNMP

delete service snmp
commit
[ service snmp ]
Job for snmpd.service failed because the control process exited with error code.
See "systemctl status snmpd.service" and "journalctl -xeu snmpd.service" for details.

Service no longer runs but we get this "nice" error message

Details

Version
1.4.0-rc1
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Related Objects