diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-11-12 22:01:10 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-11-15 22:53:14 -0500 |
commit | 4e8da529592b01fee27f48962fe953b777de9b30 (patch) | |
tree | b872df654979ad0d7c51ac5ebffa61d5354055c8 /units/remote-fs-pre.target | |
parent | e48614c4b268d9e7ecbd478d1d2410f9e92095e0 (diff) |
fstab-generator: use RequiresOverridable for fsck units
This allows the user to disable fsck's by masking.
If fsck fails, emergency target is started, the user might mount the
unit using mount and disable fsck by masking the unit. In this case,
.mount will be active because the mount is detect through
/proc/self/mountinfo, but systemd-fsck@.service will still be in
failed mode. This results in a funny situation where
$ systemctl show -p ActiveState local-fs.target yyy.mount
ActiveState=active
ActiveState=active
$ sudo systemctl start local-fs.target
[sudo] password for test:
Failed to start local-fs.target: Unit systemd-fsck@xxx.service is masked.
Diffstat (limited to 'units/remote-fs-pre.target')
0 files changed, 0 insertions, 0 deletions