[Bug 726926] New: systemd goes to emergency mode with missing usb stick (bad fstab entry)
https://bugzilla.novell.com/show_bug.cgi?id=726926 https://bugzilla.novell.com/show_bug.cgi?id=726926#c0 Summary: systemd goes to emergency mode with missing usb stick (bad fstab entry) Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: koenig@linux.de QAContact: qa@suse.de Found By: --- Blocker: --- - boot 12.1-beta1 install system from VFAT usb stick (either full 12.1-beta1 DVD or NET-install) - install the system (default settings) installation will create a mount point /windows/C for the VFAT usb stick - reboot with usb stick removed (it's "primary hard disk" on my system, so "boot harddisk" does not work with usb stick inserted:-(( so usb stick is not available anymore and can't be mounted to /windows/C as automatically configured and I ended up in "emergency mode" I just reproduced the problem with your test-systemd with this fstab entry on my notebook (no internal disk sdb) /dev/sdb1 /c vfat defaults 0 0 with existing directory /c and missing usb stick. dmesg debug info and screen shot will be attached... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=726926
https://bugzilla.novell.com/show_bug.cgi?id=726926#c1
--- Comment #1 from Harald Koenig
https://bugzilla.novell.com/show_bug.cgi?id=726926
https://bugzilla.novell.com/show_bug.cgi?id=726926#c2
--- Comment #2 from Harald Koenig
https://bugzilla.novell.com/show_bug.cgi?id=726926
https://bugzilla.novell.com/show_bug.cgi?id=726926#c
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=726926
https://bugzilla.novell.com/show_bug.cgi?id=726926#c3
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=726926
https://bugzilla.novell.com/show_bug.cgi?id=726926#c4
--- Comment #4 from Harald Koenig
sounds like an installer bug, it should add "removable" device as "defaults" but as "noauto".
maybe
try changing fstab from
will try & report later. BUT: please consider this as an *example* for problematic/broken fstab entries which will cause *severe* trouble when using systemd -- and there will be *many* similar cases (remember the /var/nscd tmpfs, others will follow...) IMHO systemd should either - not (more or less completely) "block" the system startup, or - at least give much better diagnosis output what went wrong and maybe give some hints how to "fix" the system startup. right now there is no message "mounting /home failed", "check fstab entry for /c" or similar which gives the user a chance to understand and fix the problem... funnily systemd now starts up my notebook with /home/ missing (not consistent with the behavior in this case -- but IMHO a better fallback as the "emerceny mode" loop)... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=726926
https://bugzilla.novell.com/show_bug.cgi?id=726926#c5
--- Comment #5 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=726926
https://bugzilla.novell.com/show_bug.cgi?id=726926#c
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=726926
https://bugzilla.novell.com/show_bug.cgi?id=726926#c6
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=726926
https://bugzilla.novell.com/show_bug.cgi?id=726926#c7
Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=726926
https://bugzilla.novell.com/show_bug.cgi?id=726926#c8
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=726926
https://bugzilla.novell.com/show_bug.cgi?id=726926#c9
--- Comment #9 from Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=726926
https://bugzilla.novell.com/show_bug.cgi?id=726926#c10
Harald Koenig
Is it sure that the line
/dev/sdb1 /c vfat defaults 0 0
Was added by yast2-storage?
yes and no. *that* specifc line does not come from installation, I added it again to my notebok from what I've seen on earlier server installations (as the original mount point always was /windows/C). in the mean time I've changed my installation/boot method for that server, so *now* that fstab entry does not show up anymore. but there have I've sent y2logs for earlier reports from the time where this was of my "minor" problems at that time -- maybe this can help ?! bug #723777 attachment (id=456144) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=726926
https://bugzilla.novell.com/show_bug.cgi?id=726926#c11
Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=726926
https://bugzilla.novell.com/show_bug.cgi?id=726926#c12
--- Comment #12 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com