[Pkg-sysvinit-devel] sysv-rc: Restoration of links on replacement with file-rc
Kel Modderman
kel at otaku42.de
Mon Jul 2 08:30:19 UTC 2012
Hi Roger.
>
> sysv-rc and file-rc are not completely interchangeable. sysv-rc
> tries to restore the old sequence numbers in /etc/rc*.d on removal,
> which is fine. But if I reinstall sysv-rc and then try to install
> file-rc again, it fails on purge because it can't restore the links
> the second time around.
>
> Since file-rc just deletes the links (and when file-rc is using
> insserv, it won't need any information from them), is there any
> need to retain this behaviour? Especially since it's partially
> broken; not sure what's at fault there. Does anything else make
> use of the status information in /var/lib/update-rc.d?
IMO, the reversal process has always been very fragile and should no longer
be retained now that sysvinit unconditionally migrates to dependency based
boot order.
Thanks, Kel
More information about the Pkg-sysvinit-devel
mailing list