Bug#758916: rescue login prompt: mention to type root password and RET first

積丹尼 Dan Jacobson jidanni at jidanni.org
Fri Aug 22 21:55:19 BST 2014


Package: systemd
Version: 208-8
File: /lib/systemd/system/rescue.service

Consider what happens when the user sees this message,
ExecStartPre=-/bin/echo -e 'Welcome to rescue mode! Type "systemctl default" or ^D to enter default mode.\\nType "journalctl -xb" to view system logs. Type "systemctl reboot" to reboot.'

Well, ^D works. But the rest will fail. And indeed they won't even echo
when being typed (stty echo is off because it is expecting a password!)
So you probably want to say instead:

ExecStartPre=-/bin/echo -e 'Welcome to rescue mode! Type ^D to enter
default mode. Or after root login / authorization / or some better way
of saying it, type "systemctl default..

Yes, a prompt asking the user to type a password does appear nearby, but
the user thus is still getting conflicting instructions on what to type.



More information about the Pkg-systemd-maintainers mailing list