2010/10/1 Andrey Borzenkov <[email protected]>:
>
>
> Thu, 30 Sep 2010 18:10:47 -0300 письмо от [email protected]:
>> From: Fabiano Fidencio <[email protected]>
>> This functions are working as follows:
>> - Send a SIGTERM to all process
>> - Send a SIGKILL to all process
>> - Try to umount all mount points
>> - Try to remount read-only all mount points that can't
>> be umounted
>> - Call shutdown
>> If one step fail, shutdown will be aborted
> May we have them as three different units, please?
> - killall
> - umountall
> - shutdown
> There could be alternative shutdown methods (like kexec) desired; also there
> may be extra tasks to do between umounting and shutdown, like calling UPS
> switch off command.

We (including lennart) have been discussing about the benefits to do
it in post-systemd, this will not be run as a regular init, but post
manager_loop(). Being pid1 we can use kill(-1), wait() will work for
every process, etc.

if we need things like UPS, better to make that uniform and always
call it if present.

BR,

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [email protected]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to