<div dir="ltr"><div>Hello,</div><div><br></div><div>Also running Debian Buster with sysvinit, and I stumbled upon this same issue.</div><div>After a bit of debugging, my understanding is that the root cause lies here, in /lib/init/init-d-script :<br></div><div>--- /lib/init/init-d-script.old 2020-08-07 16:50:41.544757853 +0900<br>+++ /lib/init/init-d-script.old    2020-08-07 16:50:41.736755786 +0900<br>@@ -127,10 +127,12 @@<br>   [ "$VERBOSE" != no ] && log_daemon_msg "Restarting $DESC" "$NAME"<br>      call do_stop_cmd<br>     call do_start_cmd<br>-    case "$?" in<br>+       result=$?<br>+    case "$result" in<br>          0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;<br>              2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;<br>        esac<br>+ return $result<br> }<br> <br> do_force_reload() {<br><div><div><br></div><div>The return code for the whole function ends up being the test of verbosity, which means it fails if we are not running this from a terminal.</div><div><br></div><div>This should have pretty widespread impact, but I guess it is especially obvious in snmpd because it is using the new style whereas most programs using an init script are still doing their argument parsing by themselves.</div><div><br></div><div>The above patch assumes the initial intent was to report the status of failure/success of the start command.</div><div><br></div><div>Regards,</div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>ラピー ステファン Lapie Stephane</div><div>株式会社朝日ネット システム基盤<span style="font-size:12.8000001907349px">部</span></div><div>〒104-0061 東京都中央区銀座4-12-15 歌舞伎座タワー21F<br></div><div>E-MAIL: <a href="mailto:stephane.lapie@asahinet.com" target="_blank">stephane.lapie@asahinet.com</a><br></div></div></div></div></div></div></div></div>