[Pkg-sysvinit-devel] sysv-rc: Restoration of links on replacement with file-rc

Roger Leigh rleigh at codelibre.net
Sun Jul 1 15:50:59 UTC 2012


Hi,

I've been testing file-rc/sysv-rc over the last few days while adding
insserv support to file-rc.

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?


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800



More information about the Pkg-sysvinit-devel mailing list