Summary: | systemd-journald - 60 second pause in dracut, then systemd hangs at Init Default Target | ||
---|---|---|---|
Product: | systemd | Reporter: | James <james> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
James
2013-11-18 06:44:59 UTC
Sounds like blocking in the filled-up log socket logic, but this should not happen when systemd logs directly to the kernel. which is the default for "debug" and no other specific log option. A couple more details are here: http://cgit.freedesktop.org/systemd/systemd/commit/?id=bd6d2963396061ed068c4c6c54d8104b59ba91dc Yes, for either "debug" and no other specific log option, or for an explicit "systemd.log_target=kmsg", there is no blocking and no hang, and operation seems normal. So that works, except that it creates a "Heisenbug", where, like some "quantum event", the problem goes away when you try to observe it, with "debug". If you want to do this kind of modified behavior with "debug", there should at least be very profuse and verbose and loud disclosure in the system log, saying that the underlying systemd behavior has been modified, and that the logging has been automatically - and not "silently" - changed, from "journal logging" to "kernel logging", and that "journal blocking behavior" will disappear as a result of this change. Otherwise, systemd is going to be very mysterious and "un-discoverable", and debugging is going to be a PITA. In the long run, it would seem to me, that "journal blocking" is not appropriate behavior. Instead, perhaps, systemd-journald should throw a very loud warning message, and then continue. Wasn't that the whole point of setting-up sockets with systemd, not slowing the boot process, because of any one misbehaving process? Given this is 3 years old I am pretty sure this has been resolved since then. Closing. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.