[systemd-devel] [PATCH] units: split fsck.target from sysinit.target

Tom Gundersen teg at jklm.no
Fri Sep 24 09:57:24 PDT 2010


I need this patch in order to avoid cycles during boot. It looks to me
that others should be hit by the same problem (but I have not heard
anyone complain, so I might be wrong):

A .mount unit (e.g. home.mount) will have dependencies
After=fsck.target and Before=local-fs.target, this will give the
following chain:
 sysinit.target -> systemd-random-seed-load.service -> local-fs.target
-> home.mount -> fsck.target

If fsck.target is an alias for sysinit.target this is a cycle. We avoid
that by splitting them into two separate units and making
local-fs.target want fsck.target.

Cheers,

Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-units-split-fsck.target-from-sysinit.target.patch
Type: text/x-patch
Size: 5642 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20100924/e47ffddc/attachment.bin>


More information about the systemd-devel mailing list