[Bug 852232] New: some non fatal failure during boot results in an endless loop due to defect emergency mode
https://bugzilla.novell.com/show_bug.cgi?id=852232 https://bugzilla.novell.com/show_bug.cgi?id=852232#c0 Summary: some non fatal failure during boot results in an endless loop due to defect emergency mode Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: hpj@urpla.net QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=569041) --> (http://bugzilla.novell.com/attachment.cgi?id=569041) screenshot: error loop User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 On a fresh installation, yast failed to create a fstab (#852027). While creating one myself, I also added some nfs mounts. For some reason, these mounts don't work correctly (due to a missing rpcbind, nfs service tries to access /etc/init.d/rpcbind, but that isn't available, hence it fails). Now the whole system is installed in /, so emergency should work, but it spits out some errors in an endless loop. Scrrenshot attached. Reproducible: Always Steps to Reproduce: 1. add some mount target, that does not exist or results in some other failure 2. reboot Actual Results: results in error loop Expected Results: enter emergency mode -- 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=852232
https://bugzilla.novell.com/show_bug.cgi?id=852232#c1
Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=852232
https://bugzilla.novell.com/show_bug.cgi?id=852232#c2
--- Comment #2 from Hans-Peter Jansen
https://bugzilla.novell.com/show_bug.cgi?id=852232
https://bugzilla.novell.com/show_bug.cgi?id=852232#c3
Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=852232
https://bugzilla.novell.com/show_bug.cgi?id=852232#c4
--- Comment #4 from Hans-Peter Jansen
https://bugzilla.novell.com/show_bug.cgi?id=852232
https://bugzilla.novell.com/show_bug.cgi?id=852232#c5
--- Comment #5 from Andrey Borzenkov
I cannot trigger the failure again with these packages in place. Unfortunately, no amount of tinkering with fstab with trigger the emergency mode anymore. Even removing had no consequences. Will restore the original packages and redo the checks today evening.
mkdir /test echo "/dev/no-such-device /test ext2 defaults 1 2" >> /etc/fstab reboot If this does not trigger emergency mode, you have some other problem :) -- 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=852232
https://bugzilla.novell.com/show_bug.cgi?id=852232#c6
Hans-Peter Jansen
https://bugzilla.novell.com/show_bug.cgi?id=852232
https://bugzilla.novell.com/show_bug.cgi?id=852232#c7
Andrey Borzenkov
Hitting escape, it shows the emergency mode welcome message, but unfortunately, it doesn't ask for a password as usual.
I do not understand - is it with or without my patch? -- 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=852232
https://bugzilla.novell.com/show_bug.cgi?id=852232#c8
Hans-Peter Jansen
https://bugzilla.novell.com/show_bug.cgi?id=852232
https://bugzilla.novell.com/show_bug.cgi?id=852232#c9
--- Comment #9 from Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=852232
https://bugzilla.novell.com/show_bug.cgi?id=852232#c10
--- Comment #10 from Hans-Peter Jansen
https://bugzilla.novell.com/show_bug.cgi?id=852232
https://bugzilla.novell.com/show_bug.cgi?id=852232#c11
--- Comment #11 from Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=852232
https://bugzilla.novell.com/show_bug.cgi?id=852232#c12
--- Comment #12 from Hans-Peter Jansen
https://bugzilla.novell.com/show_bug.cgi?id=852232
https://bugzilla.novell.com/show_bug.cgi?id=852232#c13
--- Comment #13 from Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=852232
https://bugzilla.novell.com/show_bug.cgi?id=852232#c14
--- Comment #14 from Hans-Peter Jansen
https://bugzilla.novell.com/show_bug.cgi?id=852232
https://bugzilla.novell.com/show_bug.cgi?id=852232#c15
Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=852232
https://bugzilla.novell.com/show_bug.cgi?id=852232#c16
--- Comment #16 from Hans-Peter Jansen
https://bugzilla.novell.com/show_bug.cgi?id=852232
https://bugzilla.novell.com/show_bug.cgi?id=852232#c
Hans-Peter Jansen
https://bugzilla.novell.com/show_bug.cgi?id=852232
https://bugzilla.novell.com/show_bug.cgi?id=852232#c
Hans-Peter Jansen
https://bugzilla.novell.com/show_bug.cgi?id=852232
https://bugzilla.novell.com/show_bug.cgi?id=852232#c17
Andrey Borzenkov
sorry for the late response. Yes, that did the trick: after a mount timeout, the emergency shell (ES) is started, the root pw was requested, and I was able to enter it.
OK, so it is the same problem as in bnc#852021, so I mark is as duplicate.
What's a little disturbing is: exiting with Ctrl-D usually resulted in a reboot. The new default seems to try to boot into default mode.
That's comes from upstream.
I edited the fstab in the emergency session (commented out the defect entry), hit Ctrl-D, system tried continue booting and - systemd has thrown me into the ES _again_. Another login -> Ctrl-D -> booting... -> ES. Looks like it keeps some state of ES, which leads to this, hence reboot is the only meaningful way out.. Therefor, the default behavior of continue booting is suboptimal at best.
Yes. After changing /etc/fstab you need to call "systemctl daemon-reload" to re-read it and forget old "bad" entry. Feel free to open new bug report re. suboptimal behavior, but let's not pile everything in one bug. *** This bug has been marked as a duplicate of bug 852021 *** http://bugzilla.novell.com/show_bug.cgi?id=852021 -- 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=852232
https://bugzilla.novell.com/show_bug.cgi?id=852232#c18
Dr. Werner Fink
http://bugzilla.novell.com/show_bug.cgi?id=852232
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=852232
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=852232
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=852232
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=852232
http://bugzilla.novell.com/show_bug.cgi?id=852232#c19
--- Comment #19 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com