<div dir="ltr"><div><div><div><div><div><div><div>Hello!<br><br></div>I have Ubuntu 16.04 server and need to install watchdog package (5.14-3ubuntu0.16.04.1) and some other packages.<br><br></div>But there is some kind of loop detected with insserv:<br><br>insserv: warning: script '<servicename>' missing LSB tags and overrides<br>insserv: There is a loop between service watchdog and <servicename> if stopped<br>insserv: loop involving service <servicename> at depth 2<br>insserv: loop involving service watchdog at depth 1<br>insserv: Stopping <servicename> depends on watchdog and therefore on system facility `$all' which can not be true!<br>insserv: exiting now without changing boot order!<br><br></div>Is
it correct to put '$all' facility into 'Required-Stop' field? It seems
to break insserv launch when there are init-scripts without LSB
information. In <a href="https://wiki.debian.org/LSBInitScripts/" target="_blank">https://wiki.debian.org/<wbr>LSBInitScripts/</a> it is stated that '$all' only works for start ordering, not stop ordering.<br><br></div>Init info of watchdog:<br><br>### BEGIN INIT INFO<br># Provides: watchdog<br># Short-Description: Start software watchdog daemon<br># Required-Start: $all<br># Required-Stop: $all<br># Should-Start: <br># Should-Stop: <br># Default-Start: 2 3 4 5<br># Default-Stop: 0 1 6<br>### END INIT INFO<br><br></div>If 'Required-Stop' is empty insserv works fine. <span id="gmail-m_-6033148923618727903gmail-result_box" class="gmail-m_-6033148923618727903gmail-short_text" lang="en"><span class="gmail-m_-6033148923618727903gmail-">Has anyone</span> <span class="gmail-m_-6033148923618727903gmail-">experienced similar problem</span><span class="gmail-m_-6033148923618727903gmail-">? Of cource I can use insserv overrides but maybe it is better to fix watchdog package (if there is something to fix).<br><br></span></span></div><span id="gmail-m_-6033148923618727903gmail-result_box" class="gmail-m_-6033148923618727903gmail-short_text" lang="en"><span class="gmail-m_-6033148923618727903gmail-">Regargs,<br></span></span></div><span id="gmail-m_-6033148923618727903gmail-result_box" class="gmail-m_-6033148923618727903gmail-short_text" lang="en"><span class="gmail-m_-6033148923618727903gmail-">Artem Konvalyuk</span></span></div>