Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-08-01 | umask: change default umask to 0022 just to be sure, and set it explicitly ↵ | Lennart Poettering | |
in all binaries, in order to make sure it is set when started from the terminal | |||
2011-07-30 | shutdownd: add 'success message' if we retried detaching stuff | Kay Sievers | |
If we need to retry, we print things like 'Not all file systems unmounted, 1 left' We should also print something after we succeeded, so we don't leave the impression we left stuff behind. | |||
2011-07-22 | shutdown: untabify | Lennart Poettering | |
2011-07-22 | shutdown: initialize the controlling terminal | Harald Hoyer | |
Thanks Kay Sievers! | |||
2011-07-22 | shutdown: remove close_nointr_nofail after make_stdio call | Harald Hoyer | |
make_stdio itsselves closes the fd already | |||
2011-07-11 | shutdown: coding style fixes | Lennart Poettering | |
2011-07-04 | shutdown: pivot_root to a tmpfs directory to properly umount root | Harald Hoyer | |
check for /run/initramfs/shutdown mount bind all needed dirs to /run/initramfs pivot_root to /run/initramfs execute /run/initramfs/shutdown | |||
2011-03-14 | shutdown: print a nice message when terminating a container | Lennart Poettering | |
2011-03-14 | shutdown: just call exit() if we are in a container | Lennart Poettering | |
2011-02-28 | Spelling Corrections | Harald Hoyer | |
Just some lame spelling corrections with no functionality. | |||
2011-02-15 | shutdown: execute all binaries in /lib/systemd/system-shutdown as last step ↵ | Lennart Poettering | |
before invoking reboot() | |||
2011-01-19 | shutdown: use correct kexec options | Brett Witherspoon | |
The kexec man page is awful and misleading. | |||
2011-01-01 | shutdown: drop redundant sync() invocation | Lennart Poettering | |
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). |