[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Faster shutdown and the ubuntu "multiuser" update-rc.d extension



Hi

    I was reading through my archived mail and stumbled upon this thread
from over a year ago.

Steve Langasek wrote:
> On Thu, Jan 03, 2008 at 10:48:01PM +0100, Gabor Gombas wrote:
>   
>> On Thu, Jan 03, 2008 at 10:40:32AM -0800, Steve Langasek wrote:
>>     
>> Yep, "waiting for an unrelated process to exit" is surprisingly hard to
>> do correctly. I wonder if the processor connector support in recent
>> kernels could be used to create a "kill_and_wait" utility:
>>     
>> - start listening on netlink for process-related events
>> - send the signal to the process
>> - wait until we receive a notification that the process has died (or a
>>   timeout has occured).
>> - from time to time do a kill(pid, 0) just to be sure we did not loose
>>   netlink messages
>>     
> In that case, why would we not just migrate toward upstart as an init with
> service supervisor capabilities? :)
>   

Even though I quite like the init system we have right now, it might be
in order to revive this subject for a while.
That is, reconsider how we "initialize" the system to see if we can
improve it.

If there has been some "recent" (past six months or so) activity on this
topic, please point me to it for I have failed to locate it.



Regards,

    J.L.


Reply to: