Bug 1186908
| Summary: | Systemd boot sequence waits FOREVER for impossibiiity | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | David A. De Graaf <dad> |
| Component: | systemd | Assignee: | systemd-maint |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 21 | CC: | johannbg, jsynacek, lnykryn, msekleta, s, systemd-maint, vpavlin, zbyszek |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-02-05 20:30:06 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
David A. De Graaf
2015-01-28 20:53:23 UTC
(In reply to David A. De Graaf from comment #0) > Additional info: > > Oh what a joy to discover yet another screwup in that Tower of Babel > we know as systemd. This one has rendered my IBM T30 laptop > unbootable. Way to go about reporting bugs. You'll be glad if the good people of the systemd team won't ignore you. There are no good people in the systemd team. Only tough bastards are left. (Unless you define "good people" as Ford Maddox Ford did: "It would have been better if they went at each other's eyes with carving knives, but they were what is called 'good people'". :)) If a mount or swap device is not critical for boot, then mark it as such with "nofail". If you don't specify that we'll wait for 90s for it, and then enter a recovery console, by default. "nofail" is not an invention of systemd btw, it existed on sysvinit already. For security reasons we cannot continue boot if a file system that is marked critical cannot be found. Otherwise attackers might be able to trigger bugs that happen because some files are missing, are not writable, or because some files are revealed that are normally overmounted. Closing. IIUC, the bug is about not going to a rescue shell properly. Thank you, Zbigniew Jędrzejewski-Szmek.
Yes, this bug is exactly about failure to reach a rescue shell,
and about defensive programming, or lack thereof.
Yes, the man page for mount(8) does say:
nofail Do not report errors for this device if it does not exist.
and that is exactly NOT what is appropriate here. If a device is not
available I expect systemd to complain LOUDLY, and then do something
sensible. If this is a normal boot sequence, it should fail, maybe
even lock up. But if this is a boot into single user mode, the boot
should fail, and devolve to a rescue prompt. Freezing up should NOT
be an option.
Mr. Poettering seems to want to transfer responsibility for the needed
defensive programming to the user. I would hope for something better.
I cannot recall an instance where sysV ever failed to reach a rescue
prompt in single user mode when the boot could not be completed,
without user intervention.
I think you're reading too much into Lennarts' response. Your posts are very long and it is hard to find the important part: that the boot effectively hung. Anyway, this seems to be a duplicate. *** This bug has been marked as a duplicate of bug 1096910 *** |