]> err.no Git - systemd/commitdiff
units: remount root and API FS before all mount units are applied
authorLennart Poettering <lennart@poettering.net>
Tue, 11 Oct 2011 01:41:04 +0000 (03:41 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 11 Oct 2011 01:41:04 +0000 (03:41 +0200)
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

units/remount-rootfs.service
units/systemd-remount-api-vfs.service.in

index e95023f03d5bd2b5bf87519d057241c77991915c..89a16c8b2666c65850def8f08497d9b3d98b356c 100644 (file)
@@ -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
index 2ccbe23c8c8d7696d9f9de7cec41d9e6845e6f79..6339ee64a6f70df9e30d401befd2dbac099902f2 100644 (file)
@@ -10,7 +10,8 @@ Description=Remount API VFS
 DefaultDependencies=no
 Conflicts=shutdown.target
 After=systemd-readahead-collect.service systemd-readahead-replay.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