The following warning shows up when starting net-snmp
* Use of the opts variable is deprecated and will be
* removed in the future.
* Please use extra_commands or extra_started_commands.
Steps to Reproduce:
1. /etc/init.d/snmpd start
Warning is displayed
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!