Description of problem: I was trying to use systemd-debug-shell to try to capture some logs from the boot so I could try to figure out why very recent kernels have been messing up the boot process without actual crashing. No logs were making it to permanent storage making it hard to narrow things down. When I enabled systemd-debug-shell then the boots starting hanging for a while writing logs to persistent storage. When I left the machine for a while and came back I would find the machine shutdown instead of at a shell prompt. systemd-217-2.fc22.i686
The hang I have no idea about. But the shutting-off part is #1154768.
kmod-18-4.fc21,systemd-216-7.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/kmod-18-4.fc21,systemd-216-7.fc21
I have an update on the hanging part. It is now happening on regular boots very roughly 50% of the time. There is no limit for copying the logs to persistent storage. I have checked after almost 15 minutes and seen it still waiting. During a couple of the debug shell runs it did eventually timeout, but in those cases I left it for a couple of hours. On boots where the issue doesn't happen, I don't notice a pause at the copying logs to persistent storage step at all. I have only seen this happen in rawhide so far.
I wonder if this is the same thing that is happening when I do a reboot. The system hangs after shutting down X and never seems to come out of the hang. Maybe they are related issues.
The hanging flush should be fixed by: http://cgit.freedesktop.org/systemd/systemd/commit/?id=a87a38c20196a4aeb56b6ba71d688eefd0b21c30
Thanks! That is an easy change to do locally if I don't want to wait for an update.
kmod-18-4.fc21,systemd-216-10.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/kmod-18-4.fc21,systemd-216-10.fc21
kmod-18-4.fc21, systemd-216-11.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.