The following warning shows up when starting net-snmp /etc/init.d/snmpd start * Use of the opts variable is deprecated and will be * removed in the future. * Please use extra_commands or extra_started_commands. Reproducible: Always Steps to Reproduce: 1. /etc/init.d/snmpd start Actual Results: Warning is displayed Expected Results: Should start without warning Trivial change, see attached patch. Following a similar bug for iptables, this probably should have been marked as blocking Bug 381895.
Created attachment 291017 [details, diff] Patch that changes opts to extra_commands Tested the patch, works for me.
Created attachment 293357 [details, diff] switch to extra_started_commands, use s-s-d for reload Patch to use extra_started_commands to avoid manual check, and to use start-stop-daemon for reload.
This has been fixed by swegener already. Thanks!