[Pkg-net-snmp-devel] Bug#948340: Fw: The /etc/default/snmpd is ignored by /etc/init.d/snmpd on Debian 9

neil.2.byrne at plus.net neil.2.byrne at plus.net
Tue Jan 7 14:46:42 GMT 2020


Package: snmpd

Version: ?5.7.3+dfsg-1.7+deb9u1

Hi,


snmpd ignores the variables defined in /etc/default/snmpd (note -Lsd, the change is required to lessen the noise in syslog).


apt-cache policy snmpd
snmpd:
  Installed: 5.7.3+dfsg-1.7+deb9u1
  Candidate: 5.7.3+dfsg-1.7+deb9u1


grep SNMPDOPTS /etc/default/snmpd
SNMPDOPTS='-LS6d -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid'

/etc/init.d/snmpd restart

ps fuax |grep -E [s]nmp
Debian-+ 32603  0.0  0.1  66624 11124 ?        Ss   14:01   0:01 /usr/sbin/snmpd -Lsd -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux mteTrigger mteTriggerConf -f


?Expected:
ps fuax |grep -E [s]nmp
Debian-+ 32603  0.0  0.1  66624 11124 ?        Ss   14:01   0:01 /usr/sbin/snmpd -LS6d -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux mteTrigger mteTriggerConf -f






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-net-snmp-devel/attachments/20200107/c543c290/attachment.html>


More information about the Pkg-net-snmp-devel mailing list