Bug#751624: [systemd]: emergency shell takes several minutes to start

Michael Biebl biebl at debian.org
Tue Jun 17 12:11:09 BST 2014


Am 15.06.2014 00:50, schrieb Michael Gold:
> On Sat, Jun 14, 2014 at 23:44:42 +0200, Michael Biebl wrote:
>> Am 14.06.2014 22:41, schrieb Michael Gold:
>>>  * after printing "Welcome to emergency mode!", it took a minute or two
>>>    before a password prompt was shown; but that prompt died (I guess)
>>>    without accepting any keyboard input, and after another few minutes I
>>>    got another welcome message and password prompt (it worked this time)
>>
>> Well, that's not quite what happens.
>> systemd has a timeout of 90secs where it waits for devices listed in
>> fstab to show up. after that it drops into the rescue shell.
>>
>> So it's not that the rescue shell takes a long time to start, it's
>> simply a timeout where systemd waits.
> 
> But why does it print the welcome message 3 times, with a delay each
> time?  And why does it give me an unusable root password prompt minutes
> before giving me a working one?

Ok, this indeed doesn't sound like the 90s timeout after which systemd
drops into the rescue shell.
Not sure if the "dying" rescue shell is related to [1].

If you "systemctl enable debug-shell.service" it starts a debug shell
very early on during boot. You can switch to it on tty9.
This might help you inspecting the system while that happens.

What is the journal logging in such a case?

Michael


[1]
http://lists.freedesktop.org/archives/systemd-devel/2014-June/020149.html
-- 
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: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140617/bb73d0d0/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list