[Pkg-sysvinit-devel] Bug#668354: Retitling
Marcin Owsiany
porridge at debian.org
Wed Sep 19 07:58:52 UTC 2012
retitle 668354 "third-party /etc/rcN.d symlinks are ignored when insserv is in use"
thanks
AFAICT the issue is that:
- muse creates symlinks in /etc/rcN.d directly, rather than using
update-rc.d, thus insserv never learns about it,
- when insserv is installed and not explicitly disabled, the symlinks
are completely ignored
I think this title summarizes the issue much better.
Now, whether this is actually an RC bug is unclear to me. The Debian
policy mandates that init scripts are installed using update-rc.d.
One might say that if muse does not follow Debian policy, it does not
seem fair to claim that sysvinit has a bug...
If sysvinit cared about compatibility with products such as muse, it
could use the following approach:
- scan all symlinks for runlevel N
- strip the [SK]XX prefix
- filter away the names which are in /etc/init.d/.depend.* $TARGETS
- if any names remain, they must be such legacy scripts - run them
However this procedure would not preserve the correct ordering of
scripts..
--
Marcin Owsiany <porridge at debian.org> http://marcin.owsiany.pl/
GnuPG: 2048R/02F946FC 35E9 1344 9F77 5F43 13DD 6423 DBF4 80C6 02F9 46FC
More information about the Pkg-sysvinit-devel
mailing list