Package: snmpd
Version: 5.7.3+dfsg-5
Hello,
when trying to upgrade from stretch to buster, the postinst script for snmpd
fails:
# dpkg --configure -a
Setting up snmpd (5.7.3+dfsg-5) ...
invoke-rc.d: initscript snmpd, action "restart" failed.
dpkg: error processing package snmpd (--configure):
installed snmpd package post-installation script subprocess returned error exit
status 1
Errors were encountered while processing:
snmpd
# ps -ef |grep snmp
Debian-+ 13892 1 0 12:45 ? 00:00:00 /usr/sbin/snmpd -Lsd -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux mteTrigger mteTriggerConf -p /run/snmpd.pid
root 13898 13579 0 12:45 pts/3 00:00:00 grep snmp
as you can see, the snmpd is running., but postinst fails again:
test.decodom.sk ~ # dpkg --configure -a
Setting up snmpd (5.7.3+dfsg-5) ...
invoke-rc.d: initscript snmpd, action "restart" failed.
dpkg: error processing package snmpd (--configure):
installed snmpd package post-installation script subprocess returned error exit
status 1
Errors were encountered while processing:
snmpd
# ps -ef |grep snmp
Debian-+ 13955 1 0 12:46 ? 00:00:00 /usr/sbin/snmpd -Lsd -Lf
/dev/null -u Debian-snmp -g Debian-snmp -I -smux mteTrigger mteTriggerConf -p
/run/snmpd.pid
root 13959 13579 0 12:46 pts/3 00:00:00 grep snmp
as you can see, the snmpd pid changed, so it was correctly restarted.
I have tried to enable verbose init script processing:
# vi /etc/default/rcS
# dpkg --configure -a
Setting up snmpd (5.7.3+dfsg-5) ...
[ ok ] Restarting SNMP Services: snmpd.
# ps -ef |grep snmp
Debian-+ 14090 1 0 12:47 ? 00:00:00 /usr/sbin/snmpd -Lsd -Lf
/dev/null -u Debian-snmp -g Debian-snmp -I -smux mteTrigger mteTriggerConf -p
/run/snmpd.pid
root 14131 13579 0 12:48 pts/3 00:00:00 grep snmp
"unfortunately" it seems has fixed the problem.
However it repeated on 2nd machine so there is a problem somewhere.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Support bacteria - they're the only culture some people have.