[systemd-devel] [PATCH] Generate a fake systemd-fsck-root.service in the initramfs

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Sun May 10 10:23:12 PDT 2015


On Wed, May 06, 2015 at 07:12:07PM +0200, Lennart Poettering wrote:
> On Wed, 06.05.15 15:50, Harald Hoyer (harald.hoyer at gmail.com) wrote:
> 
> > Works for me... booted with "ro" on the kernel cmdline:
> > 
> > $ systemctl status systemd-fsck-root.service
> > ● systemd-fsck-root.service - File System Check on Root Device
> >    Loaded: loaded (/usr/lib/systemd/system/systemd-fsck-root.service; static;
> > vendor preset: disabled)
> >    Active: inactive (dead) since Mi 2015-05-06 15:37:58 CEST; 1min 44s ago
> >      Docs: man:systemd-fsck-root.service(8)
> >  Main PID: 144 (code=exited, status=0/SUCCESS)
> >    CGroup: /system.slice/systemd-fsck-root.service
> 
> I think tis is really confusing for the admin. he now thinks that this
> is actually the exit status of the root fsck, but it's atcually just
> /bin/true.
I pushed now a version which generates a real systemd-fsck-root.service
in the initramfs.

It *does* introduce the extra synchronization dep. If it turns out to be
a problem, it should be easy enough to fix, iff anyone actually encounters
that in practice.

Zbyszek


More information about the systemd-devel mailing list