[systemd-devel] [PATCH] fstab-generator: mask systemd-fsck-root for /sysroot unit

Harald Hoyer harald at redhat.com
Mon Feb 23 03:27:40 PST 2015


On 21.02.2015 12:44, Andrei Borzenkov wrote:
> В Fri, 20 Feb 2015 12:24:33 +0100
> harald at redhat.com пишет:
> 
>> From: Harald Hoyer <harald at redhat.com>
>>
>> If the fstab-generator generates a mount unit for /sysroot, we shall not
>> run systemd-fsck-root in the real root.
>> ---
>>  Makefile.am                           |  1 +
>>  src/fstab-generator/fstab-generator.c | 11 +++++++++++
> 
> But this does not solve problem if dracut runs without systemd module.
> Why not revert 956eaf2b8d6c9999024705ddadc7393bc707de02 and make dracut
> create /run/initramfs/root-fsck instead in both cases?

Although, I can change dracut to add the mask instead of
/run/initramfs/root-fsck, I think you are right and we are probably over
engineering this small problem.


More information about the systemd-devel mailing list