[systemd-devel] emergency, rescue and single-user

Jan Synacek jsynacek at redhat.com
Tue Dec 9 22:46:41 PST 2014


Mantas Mikulėnas <grawity at gmail.com> writes:
> On Tue, Dec 9, 2014 at 2:43 PM, Jan Synáček <jsynacek at redhat.com> wrote:
>
>> Hello,
>>
>> what is the difference between emergency, rescue and single-user?
>> On F21, systemd-216-12.fc21.x86_64, they all boot into something that
>> presents itself as "Welcome to emergency mode!" and they all require a
>> root password. In case of booting into emergency.target, I can see
>> "Starting Emergency Shell" in the console output. In single-user and
>> rescue.target, I can see "Starting Rescue Shell", but they all look the
>> same. systemd.special(7) doesn't help much.
>>
>
> rescue.target pulls in sysinit.target (mounts, swaps, udev, sysctl...),
> while emergency.target starts a sulogin shell and nothing more. See the
> graph in bootup(7).

Ok, good to know about bootup(7), thanks!

-- 
Jan Synacek
Software Engineer, Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20141210/16cd4728/attachment.sig>


More information about the systemd-devel mailing list