diff options
author | Michael Marineau <michael.marineau@coreos.com> | 2015-11-12 18:10:57 -0800 |
---|---|---|
committer | Michael Marineau <michael.marineau@coreos.com> | 2015-11-12 18:35:27 -0800 |
commit | 5fd534d919c0dc94db05cf6661d3f4819f2d7b22 (patch) | |
tree | 8af81257d54e62c4ce6eefc7e31e43f171cb1777 /src/basic/lockfile-util.h | |
parent | 87fde73e185fabc346ee4d9c9befe972e3502dc3 (diff) |
generator: order initrd fsck-root after local-fs-pre
The initrd version of systemd-fsck-root.service must wait for
local-fs-pre.target just like systemd-fsck@.service to prevent
modifications to the filesystem prior to resuming from hibernation.
As-is my laptop routinely fails to resume due to fsck errors. The rest
of the time it is probably silently corrupting the filesystem.
Unlike normal boot, in the initrd systemd-fsck-root.service has no
special significance so it needs to be kept in sync with
systemd-fsck@.service. The name systemd-fsck-root.service is only used
to preserve state across switch-root.
Diffstat (limited to 'src/basic/lockfile-util.h')
0 files changed, 0 insertions, 0 deletions