summaryrefslogtreecommitdiffstats
path: root/units/remount-rootfs.service
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-10-11 03:41:04 +0200
committerLennart Poettering <lennart@poettering.net>2011-10-11 03:41:04 +0200
commit8266f984df0b069a345bf959628bac70877ce5e1 (patch)
tree7173e0d18b8c226e34b6630077ee361c6b449b45 /units/remount-rootfs.service
parentunits: introduce local-fs-pre.target and remote-fs-pre.target (diff)
downloadsystemd-8266f984df0b069a345bf959628bac70877ce5e1.tar.xz
systemd-8266f984df0b069a345bf959628bac70877ce5e1.zip
units: remount root and API FS before all mount units are applied
In order to ensure that bind mounts copy the final mount settings to the new bind mount make the root and API FS mount options are applied before the other file systems are mounted. https://bugzilla.redhat.com/show_bug.cgi?id=718464
Diffstat (limited to 'units/remount-rootfs.service')
-rw-r--r--units/remount-rootfs.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/units/remount-rootfs.service b/units/remount-rootfs.service
index e95023f03d..89a16c8b26 100644
--- a/units/remount-rootfs.service
+++ b/units/remount-rootfs.service
@@ -10,7 +10,8 @@ Description=Remount Root FS
DefaultDependencies=no
Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service fsck-root.service
-Before=local-fs.target shutdown.target
+Before=local-fs-pre.target local-fs.target shutdown.target
+Wants=local-fs-pre.target
[Service]
Type=oneshot