[Pkg-sysvinit-devel] Bug#483172: sysv-rc: does not run all shutdown scripts
Sven Joachim
svenjoac at gmx.de
Thu May 29 17:06:09 UTC 2008
On 2008-05-29 12:39 +0200, Petter Reinholdtsen wrote:
> Actually, sysv-rc is behaving as intended, designed and documented.
> When switching from one runlevel to another, only new start scripts
> are executed. So, if portmap want to stop in runlevel 0 and 6 while
> starting in runlevels 2-5, it should install a K* symlink, not S*
> symlinks.
That would probably not currently be possible, since portmap should only
be stopped after unmounting the network filesystems.
> On the other hand, the runlevels 0 and 6 are very special,
> as S* symlinks are handled as if they wyere K* symlinks. This is an
> argument for handling the optimizing specially as well.
>
> I believe the proper fix for this is to convert all S* style symlinks
> in rc0.d/ and rc6.d/ to K* style symlinks, but it will require a lot
> of painful coordination using the current framework. Switching to
> dependency based boot sequencing using insserv will solve this problem
> automatically.
I very much appreciate the work you have done on that.
Cheers,
Sven
More information about the Pkg-sysvinit-devel
mailing list