mirror of
https://github.com/systemd/systemd.git
synced 2024-11-04 22:21:55 +03:00
4e6f13af93
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.
20 lines
561 B
SYSTEMD
20 lines
561 B
SYSTEMD
# This file is part of systemd.
|
|
#
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
[Unit]
|
|
Description=Enable File System Quotas
|
|
Documentation=man:quotaon(8)
|
|
DefaultDependencies=no
|
|
After=systemd-quotacheck.service
|
|
Before=remote-fs.target shutdown.target
|
|
ConditionPathExists=@QUOTAON@
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=@QUOTAON@ -aug
|