<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 14, 2018 at 7:15 PM Michael Biebl <<a href="mailto:biebl@debian.org">biebl@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">[CCing debian-init-diversity which is planning to adopt insserv ttbomk]<br>
<br>
On Tue, 01 Jun 2010 11:15:17 +0800 <a href="mailto:jidanni@jidanni.org" target="_blank">jidanni@jidanni.org</a> wrote:<br>
> Package: sysv-rc<br>
> Version: 2.88dsf-7<br>
> Severity: wishlist<br>
> File: /usr/share/man/man8/update-rc.d.8.gz<br>
> <br>
> We read<br>
>        -f     Force removal of symlinks even if /etc/init.d/name still exists.<br>
> <br>
> However we find that indeed you might as well change that to<br>
> <br>
>        -f     [no-op, retained for backwards compatibility]<br>
> <br>
> or<br>
>        -f     Force removal of symlinks even if /etc/init.d/name still<br>
>        exists [enabled by default]<br>
> <br>
> Proof:<br>
> <br>
> # sysv-rc-conf  --list cron<br>
> cron         0:off      1:off   2:on    3:on    4:on    5:on    6:off<br>
> # update-rc.d cron remove<br>
> update-rc.d: using dependency based boot sequencing<br>
> # sysv-rc-conf  --list cron #GONE:<br>
> cron<br>
> # update-rc.d cron defaults<br>
> update-rc.d: using dependency based boot sequencing<br>
> update-rc.d: warning: cron stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (1)<br>
<br>
The -f parameter is mostly just passed along to insserv and causes it to<br>
ignore any potential dependency errors afair.<br>
<br>
If you could remove cron without issues, then this means no other<br>
service had a hard dependency on it.<br>
<br>
At least that's how I understand the meaning of -f.<br>
Felipe, is this correct?<br></blockquote><div><br></div><div>Right. It is only passed on to insserv. Therefore it only has meaning when initscripts is installed.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
If so, I guess the correct fix would be to update the documentation of<br>
the -f flag accordingly.<br></blockquote><div><br></div><div>Agreed.</div><div> </div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><br>Saludos,<br>Felipe Sateler</div></div>