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 [email protected]
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

Difficulty level
Easy (less than an hour)
Version
1.4.0-rc1
Why the issue appeared?
Implementation mistake
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Related Objects

Event Timeline

c-po created this task.
c-po triaged this task as Normal priority.
c-po changed Difficulty level from Normal (likely a few hours) to Easy (less than an hour).
c-po changed Why the issue appeared? from Will be filled on close to Implementation mistake.
c-po moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.