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.  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.

Anyway, I'll see what can be done in init.d/rc to work around this
issue.

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to