[systemd-devel] [PATCH 3/4] Adding halt binary to shutdown the system

Michael Biebl mbiebl at gmail.com
Tue Oct 5 09:25:36 PDT 2010


2010/10/5  <fidencio at profusion.mobi>:
> From: Fabiano Fidencio <fidencio at profusion.mobi>
>
> This functions are working as follows:
>    - Send a SIGTERM to all processes that may be finished.
>    - Send a SIGKILL to all processes that still live and
>    may be finished.
>    - Try to mount all mount points
                 ^ unmount, I guess

>    - Try to remount read-only all mount points that can't
>    be umounted
>    - Umount all swap devices.
>    - Call [poweroff|halt|reboot|kexec]

Just to be sure:
There still will be a separate killall service and unmounting in halt
is only a last resort, i.e.
mount points handled by systemd should already be unmounted when this
binary is called?

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


More information about the systemd-devel mailing list