Bug#757072: systemd: Emergency mode is broken, conflicts with rescue mode

Michael Biebl biebl at debian.org
Mon Aug 18 18:42:51 BST 2014


forwarded 757072 https://bugs.freedesktop.org/show_bug.cgi?id=82778
thanks

Am 05.08.2014 06:49, schrieb Francois Gouget:
> Package: systemd
> Version: 208-6
> Severity: critical
> Justification: breaks the whole system
> 
> Dear Maintainer,
> 
> After an upgrade Debian started to fail booting due to a simple fstab error.
> Because of the 'quiet' option, the default 'Debian GNU/Linux' Grub entry was producing no indication of the error, and furthermore entered in a loop claiming to go into emergency mode but in fact never allowing any input:
> 
>   Welcome to emergency mode! After logging in, type "journalctl -xd" to view
>   system logs, "systemctl reboot" to reboot, "systemctl default" to try again
>   to boot into default mode.
>   Welcome to emergency mode! After logging in, type "journalctl -xd" to view
>   system logs, "systemctl reboot" to reboot, "systemctl default" to try again
>   to boot into default mode.
>   [...]
> 
> I suppose that's not quite normal but that's not the subject of this bug.

Yeah, this is already tracked in

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755581

This seems to be fixed in newer upstream releases and for v208 there
exists a workaround (adding Conflicts=syslog.sockets to emergency.service)

> So then I picked Grub's 'Debian GNU/Linux, with Linux 3.14-2-amd64 (recovery mode)' menu entry. This resulted in the following output:
> 
> 
>   Welcome to rescue mode! Type "systemctl default" or ^D to enter default mode.
>   Welcome to emergency mode! After logging in, type "journalctl -xd" to view
>   Type "journalctl -xb" to view system logs. Type "systemctl reboot" to reboot.
>   system logs, "systemctl reboot" to reboot, "systemctl default" to try again
>   to boot into default mode.
>   Give root password for maintenance
>   Give root password for maintenance
>   (or type Control-D to continue): (or type Control-D o continue):
> 
> What happens here is that both the emergency and rescue shells are enabled and take turns at random using stdin and stdout. The consequence is that both shells are totally unusable as any keystroke gets sent semi-randomly to one or the other, making it impossible to get a proper command through.

I forwarded this upstream as
https://bugs.freedesktop.org/show_bug.cgi?id=82778

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140818/5deda6d1/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list