summaryrefslogtreecommitdiff
path: root/src/systemctl
diff options
context:
space:
mode:
authorWill Fancher <elvishjerricco@gmail.com>2023-02-07 22:00:38 -0500
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-03-11 02:10:41 +0900
commit6e017b19a804639101fc87b4b78c02f7639c6d0c (patch)
tree334ab854bf46fe82063e4f18829d553d20b700d7 /src/systemctl
parentaa410791756d672e68fbf7de5ba95cab43e39a97 (diff)
downloadsystemd-6e017b19a804639101fc87b4b78c02f7639c6d0c.tar.gz
mount: Include After=local-fs-pre.target by default in initrd
Although it may be true that /sysroot and its children don't belong in local-fs.target, that doesn't mean they shouldn't come after local-fs-pre.target. For instance, systemd-hibernate-resume@.service needs to come before /sysroot and its children, but currently that only happens coincidentally because of the ordering between systemd-fsck@.service and local-fs-pre.target. As a result, mount units can be mistakenly started simultaneously with systemd-hibernate-resume@.service, which can cause corruption and data loss in the worst of cases.
Diffstat (limited to 'src/systemctl')
0 files changed, 0 insertions, 0 deletions