Bug 1159641 - systemd-debug-shell service hangs writing log to persisent storage and then shuts downs
Summary: systemd-debug-shell service hangs writing log to persisent storage and then s...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-02 14:09 UTC by Bruno Wolff III
Modified: 2014-11-12 02:38 UTC (History)
11 users (show)

Fixed In Version: kmod-18-4.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-05 01:23:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1154768 0 unspecified CLOSED Systemd ignores TimeoutSec=0 in service file 2021-02-22 00:41:40 UTC

Internal Links: 1154768

Description Bruno Wolff III 2014-11-02 14:09:17 UTC
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

Comment 1 Zbigniew Jędrzejewski-Szmek 2014-11-02 18:21:57 UTC
The hang I have no idea about. But the shutting-off part is #1154768.

Comment 2 Fedora Update System 2014-11-03 13:24:14 UTC
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

Comment 3 Bruno Wolff III 2014-11-04 13:09:20 UTC
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.

Comment 4 kevin martin 2014-11-04 17:32:54 UTC
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.

Comment 5 Michal Schmidt 2014-11-04 19:34:42 UTC
The hanging flush should be fixed by:

http://cgit.freedesktop.org/systemd/systemd/commit/?id=a87a38c20196a4aeb56b6ba71d688eefd0b21c30

Comment 6 Bruno Wolff III 2014-11-04 19:39:25 UTC
Thanks! That is an easy change to do locally if I don't want to wait for an update.

Comment 7 Fedora Update System 2014-11-05 13:17:30 UTC
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

Comment 8 Fedora Update System 2014-11-12 02:38:27 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.