Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-09-05 | shutdown: in containers, invoke reboot(2), too. Then fallback to exit() if ↵ | Lennart Poettering | |
CAP_SYS_BOOT is missing The kernel's PID namespaces support reboot(2) just fine, so let's make use of it if possible. | |||
2012-09-05 | shutdown: remove explicit sync() invocations | Lennart Poettering | |
The kernel implicitly does sync() anyway, hence there is no need to do that in userspace explicitly. This makes the "-n" switch to halt(8) a noop. | |||
2012-08-12 | switch-root: remount to MS_PRIVATE | Lennart Poettering | |
The kernel does not allow switching roots if things are mounted MS_SHARED. As a work-around, remount things MS_PRIVATE before switching roots. This should be fixed in the kernel for good. https://bugzilla.redhat.com/show_bug.cgi?id=847418 | |||
2012-08-10 | shutdown: recursively mark root as private before pivot | Dave Reisner | |
Because root is now recursively marked as shared on bootup, we need to recursively mark root as private. This prevents a pivot_root failure on shutdown: Cannot finalize remaining file systems and devices, giving up. pivot failed: Invalid argument | |||
2012-07-17 | switch-root: don't wait for processes | Lennart Poettering | |
When we transition from the initrd to the main system, don't reap processes, so that they can be handled normally after deserialization. | |||
2012-07-16 | Spelling fixes. | Ville Skyttä | |
2012-07-13 | shutdown: add missing include | Lennart Poettering | |
2012-07-13 | container: when shutting down in a container don't detach loop devices | Lennart Poettering | |
We don't do device handling in containers, hence no loop devices either. | |||
2012-07-13 | core: go on a killing spree when transitioning from initrd to main system | Lennart Poettering | |
2012-07-10 | switch-root: reopen /dev/console before we switch root | Lennart Poettering | |
2012-05-31 | mkdir: append _label to all mkdir() calls that explicitly set the selinux ↵ | Kay Sievers | |
context | |||
2012-05-08 | sleep: implement suspend/hibernate as first class targets | Lennart Poettering | |
2012-04-24 | shutdown: don't complain if we cannot lock memory, to make container ↵ | Lennart Poettering | |
shutdowns clean | |||
2012-04-22 | shutdown: don't try to shut down DM devices in a container | Lennart Poettering | |
2012-04-12 | shutdown: move shutdown to core since it replaces PID 1 | Lennart Poettering | |