From: Lennart Poettering Date: Fri, 15 Apr 2011 23:58:43 +0000 (+0200) Subject: units: order quotacheck after remount-rootfs X-Git-Tag: v25~32 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=42549a5a6ac5ca2d3e830b3ed1df2dec501bc692 units: order quotacheck after remount-rootfs --- diff --git a/units/fsck-root.service.in b/units/fsck-root.service.in index 8f4adc48e..7b3529db0 100644 --- a/units/fsck-root.service.in +++ b/units/fsck-root.service.in @@ -9,7 +9,7 @@ Description=File System Check on Root Device DefaultDependencies=no After=systemd-readahead-collect.service systemd-readahead-replay.service -Before=local-fs.target shutdown.target remount-rootfs.service quotacheck.service +Before=local-fs.target shutdown.target # Dracut informs us with this flag file if the root fsck was already run ConditionPathExists=!/run/initramfs/root-fsck diff --git a/units/quotacheck.service.in b/units/quotacheck.service.in index ed1ddc558..27dcb1e4c 100644 --- a/units/quotacheck.service.in +++ b/units/quotacheck.service.in @@ -8,7 +8,7 @@ [Unit] Description=File System Quota Check DefaultDependencies=no -After=systemd-readahead-collect.service systemd-readahead-replay.service +After=systemd-readahead-collect.service systemd-readahead-replay.service remount-rootfs.service Before=local-fs.target shutdown.target ConditionPathExists=/sbin/quotacheck diff --git a/units/remount-rootfs.service b/units/remount-rootfs.service index 31309015c..e95023f03 100644 --- a/units/remount-rootfs.service +++ b/units/remount-rootfs.service @@ -9,7 +9,7 @@ Description=Remount Root FS DefaultDependencies=no Conflicts=shutdown.target -After=systemd-readahead-collect.service systemd-readahead-replay.service +After=systemd-readahead-collect.service systemd-readahead-replay.service fsck-root.service Before=local-fs.target shutdown.target [Service]