Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-11-12 | build-sys: fix usage of path macros | Lennart Poettering | |
2010-10-28 | shutdown: reword a few messages a little | Lennart Poettering | |
2010-10-26 | shutdown: properly handle sigtimedwait() timing out | Lennart Poettering | |
2010-10-14 | shutdown: loop only as long as we manage to unmount/detach devices, give up ↵ | Lennart Poettering | |
immediately when we are stuck | |||
2010-10-14 | umount: try to get rid of DM devices | Lennart Poettering | |
2010-10-14 | shutdown: log to console by default | Lennart Poettering | |
2010-10-14 | shutdown: make use of wait_for_terminate_and_warn() | Lennart Poettering | |
2010-10-14 | shutdown: execute rescue kill only once | Lennart Poettering | |
2010-10-14 | shutdown: don't chdir to /, since init is running with / as cwd anyway | Lennart Poettering | |
2010-10-07 | util: unify implementations of freeze() | Lennart Poettering | |
2010-10-07 | shutdown: Adding binary to shutdown the system | Fabiano Fidencio | |
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 unmount all mount points - Try to remount read-only all mount points that can't be umounted - Umount all swap devices - Umount and detach all loopback devices - Call [poweroff|halt|reboot|kexec] TODO: - Umount device-mapper. - Make log work. So far it is being useless as we do not parse /etc/systemd/system.conf, kernel command line but just environment, however we're executed by init and thus have no useful variables. Forcing it to target=kmsg/console and level=debug also does not produce any output, however writing to /dev/console does work (hack used during debug). |