Hi guys,

I'm playing around with the new shutdown pivot mechanism (using v30),
and trying to make it work without using dracut (as Arch has its own
initramfs implementation). I ran across a problem related to
pivot_to_new_root(), and wondered if anyone could point me in the
right direction.

A minimal testcase is:

# mkdir /run/initramfs
# touch /run/initramfs/shutdown
# chmod +x /run/initramfs/shutdown
# systemctl reboot

I then get an assert in close_nointr_nofail() when pivot_to_new_root()
tries to close /dev/console. (This happens before we execv shutdown,
so it does not matter that shutdown is empty).

Is this expected behavior. If so, any ideas what I might be doing wrong here?

Cheers,

Tom
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to