[systemd-devel] [PATCH 3/3] Use a stamp file to avoid running systemd-fsck-root.service twice
Lennart Poettering
lennart at poettering.net
Sun May 3 18:07:28 PDT 2015
On Sun, 03.05.15 15:33, Zbigniew Jędrzejewski-Szmek (zbyszek at in.waw.pl) wrote:
> > systemd-fsck at .service has explicit dependency on
> > systemd-fsck-root.service so other mounts (/usr, anything else?) will
> > be serialized after it. Currently they can run in parallel.
> >
> > Not I think it is a big problem, but at least to consider.
> Yeah, that's the main wart. I tried to outline it in the second bullet
> point below.
>
> I prepared a patch to generate systemd-fsck-root.service in
> generator_write_fsck_deps() first, but I wasn't happy with the result.
> If we ignore the dependency issue, it might be judged more elegant,
> since it just uses unit stat to pass information.
Yeah, I'd ignore the deps thing, and I'd like to avoid the flag file...
But anyway, harald can you say something about this?
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list