diff options
author | tblume <Thomas.Blume@suse.com> | 2017-03-30 11:21:18 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-03-30 11:21:18 +0200 |
commit | 4e6f13af93a551933a75331b1f67123b3d09f6ef (patch) | |
tree | 9dadc18efa84762356ace5405cf40a2c7403bac3 /units/systemd-quotacheck.service.in | |
parent | bd9ad4ff5bf2252f46ccf0cb91b3ed16def1c1a4 (diff) |
units: move Before deps for quota services to remote-fs.target (#5627)
Creating quota on an iscsi device is causing dependency loops at next reboot.
Reason is that systemd-quotacheck and quotaon.service are ordered before
local-fs.target and quota enabled mounts have a before dependency to them.
This cannot work for _netdev mounts, because network activation is ordered
after local-fs.target.
Moving the Before dependency for systemd-quotacheck and quotaon.service
to remote-fs.target fixes this.
Diffstat (limited to 'units/systemd-quotacheck.service.in')
-rw-r--r-- | units/systemd-quotacheck.service.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-quotacheck.service.in b/units/systemd-quotacheck.service.in index 5cb9bc3bc9..6b1999aa51 100644 --- a/units/systemd-quotacheck.service.in +++ b/units/systemd-quotacheck.service.in @@ -10,7 +10,7 @@ Description=File System Quota Check Documentation=man:systemd-quotacheck.service(8) DefaultDependencies=no After=systemd-remount-fs.service -Before=local-fs.target shutdown.target +Before=remote-fs.target shutdown.target ConditionPathExists=@QUOTACHECK@ [Service] |