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

Andrei Borzenkov arvidjaar at gmail.com
Sun May 10 11:59:18 PDT 2015


В Sun, 10 May 2015 17:23:12 +0000
Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl> пишет:

> 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,

If it easy to fix, why not do it upfront?

>                                            iff anyone actually encounters
> that in practice.
> 
> Zbyszek
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel



More information about the systemd-devel mailing list