[Bug 788765] New: Unneeded systemd emergency mode if optional disk from /etc/fstab fails
https://bugzilla.novell.com/show_bug.cgi?id=788765 https://bugzilla.novell.com/show_bug.cgi?id=788765#c0 Summary: Unneeded systemd emergency mode if optional disk from /etc/fstab fails Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: joachim.banzhaf@googlemail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1 I have fully updated opensuse 12.2 on a notebook with 2 disks. The first disk just failed. But it only contains Windows files that I mount in /etc/fstab like this (note the 0 at the end): /dev/disk/by-id/ata-M4-CT256M4SSD2_0000000011180306E820-part2 /win8 ntfs-3g users,gid=users,fmask=133,dmask=022,locale=de_DE.UTF-8 0 0 The disk is not used by lvm or anything else from opensuse relevant lines from the journal: Nov 08 12:51:13 job2 systemd[1]: Job dev-disk-by\x2did-ata\x2dM4\x2dCT256M4SSD2_0000000011180306E820\x2dpa...d out. Nov 08 12:51:13 job2 systemd[1]: Job remote-fs-pre.target/start failed with result 'dependency'. Nov 08 12:51:13 job2 systemd[1]: Job local-fs.target/start failed with result 'dependency'. Nov 08 12:51:13 job2 systemd[1]: Triggering OnFailure= dependencies of local-fs.target. Nov 08 12:51:13 job2 systemd[1]: Job systemd-logind.service/start failed with result 'dependency'. Nov 08 12:51:13 job2 systemd[1]: Job NetworkManager-wait-online.service/start failed with result 'dependency'. Nov 08 12:51:13 job2 systemd[1]: Job NetworkManager.service/start failed with result 'dependency'. Nov 08 12:51:13 job2 systemd[1]: Job avahi-daemon.service/start failed with result 'dependency'. Nov 08 12:51:13 job2 systemd[1]: Job dbus.service/start failed with result 'dependency'. Nov 08 12:51:13 job2 systemd[1]: Job dbus.socket/start failed with result 'dependency'. Nov 08 12:51:13 job2 systemd[1]: Job graphical.target/start failed with result 'dependency'. Nov 08 12:51:13 job2 systemd[1]: Job multi-user.target/start failed with result 'dependency'. Nov 08 12:51:14 job2 systemd-journal[414]: Journal stopped Expected behaviour: Don't go to emergency mode since the failing mount is flagged as optional. Reproducible: Always Steps to Reproduce: 1. create /etc/fstab entry using a failing device and ending with 0 (i.e. optional mount) 2. reboot Actual Results: Boots into emergency mode Expected Results: Don't go to emergency mode since the failing mount is flagged as optional. -- 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=788765 https://bugzilla.novell.com/show_bug.cgi?id=788765#c1 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |suse-beta@cboltz.de InfoProvider| |joachim.banzhaf@googlemail. | |com --- Comment #1 from Christian Boltz <suse-beta@cboltz.de> 2012-11-10 00:07:20 CET --- The "0" has nothing to do with optional mounts (see "man fstab" for details) Instead, add "nofail" to the mount flags (4th column). Does this work? -- 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=788765 https://bugzilla.novell.com/show_bug.cgi?id=788765#c2 Joachim Banzhaf <joachim.banzhaf@googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|joachim.banzhaf@googlemail. | |com | --- Comment #2 from Joachim Banzhaf <joachim.banzhaf@googlemail.com> 2012-11-10 04:40:58 UTC --- Oh, my bad. Somehow I generalized from no fs check needed to ignore any errors. Will add nofail now, but my disk is ok again, so I dont know how to test it. Since there is no reason to believe it wont work I guess the ticket can be closed. -- 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=788765 https://bugzilla.novell.com/show_bug.cgi?id=788765#c3 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #3 from Christian Boltz <suse-beta@cboltz.de> 2012-11-10 11:54:04 CET --- If you want to test it, you could intentionally break a line in your fstab, for example by specifying a non-existing mountpoint ;-) I'm closing this bug for now - please reopen if "nofail" doesn't work. -- 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.
participants (1)
-
bugzilla_noreply@novell.com