Bug#483172: sysv-rc: does not run all shutdown scripts

2008-05-29 Thread Sven Joachim
On 2008-05-29 12:49 +0200, Petter Reinholdtsen wrote: > Can you test this patch? It convert the start optimization to a stop > optimization for runlevels 0 and 6. > > Index: debian/sysv-rc/etc/init.d/rc > === > --- debian/sysv-rc/etc

Bug#483172: sysv-rc: does not run all shutdown scripts

2008-05-29 Thread Sven Joachim
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 s

Bug#483172: sysv-rc: does not run all shutdown scripts

2008-05-29 Thread Petter Reinholdtsen
[Petter Reinholdtsen] > Anyway, I'll see what can be done in init.d/rc to work around this > issue. Can you test this patch? It convert the start optimization to a stop optimization for runlevels 0 and 6. Index: debian/sysv-rc/etc/init.d/rc ===

Bug#483172: sysv-rc: does not run all shutdown scripts

2008-05-29 Thread Petter Reinholdtsen
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