Bug#932775: [Pkg-net-snmp-devel] Bug#932775: snmpd: init script does not respect /etc/default/snmpd

2019-07-24 Thread Daniel Reichelt
Hi Craig, > It's a little more complicated than that. The defaults are loaded in> > by init-d-script but are then overwritten by the snmp init script. Whoops…I totally missed the usage of init-d-script. Shouldn't be writing bug reports that late… > Actually looking at the init script, it does

Bug#932775: [Pkg-net-snmp-devel] Bug#932775: snmpd: init script does not respect /etc/default/snmpd

2019-07-24 Thread Craig Small
Actually looking at the init script, it does check SNMPOPTS is set and this is the only variable in the default file. What exactly is not getting picked up or overwritten? - Craig On Tue, 23 Jul 2019 at 10:06, Daniel Reichelt wrote: > Package: snmpd > Version: 5.7.3+dfsg-5 > Severity:

Bug#932775: [Pkg-net-snmp-devel] Bug#932775: snmpd: init script does not respect /etc/default/snmpd

2019-07-24 Thread Craig Small
Hi Daniel, It's a little more complicated than that. The defaults are loaded in by init-d-script but are then overwritten by the snmp init script. What it should be testing is if they are unset variables and then use the defaults. - Craig

Bug#932775: snmpd: init script does not respect /etc/default/snmpd

2019-07-22 Thread Daniel Reichelt
Package: snmpd Version: 5.7.3+dfsg-5 Severity: important Hi, first of all, I'm running sysvinit, not systemd. The init script shipped with snmpd is broken as it does not respect /etc/default/snmpd. The code which handled this in the stretch version is missing from the buster version: