boot/ostree-remount.service: run before tmpfiles.d

tmpfiles.d configurations generally require write access to some places
that are read-only until ostree-remount runs.

Make sure ostree-remount has run first.

Thanks to Cosimo Cecchi for finding and diagnosing this problem.

https://bugzilla.gnome.org/show_bug.cgi?id=724183
This commit is contained in:
Daniel Drake 2014-02-11 16:13:34 -06:00 committed by Colin Walters
parent 3ffdef07a4
commit c8b16d9313
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ After=systemd-remount-fs.service
Before=local-fs.target umount.target Before=local-fs.target umount.target
# Other early boot units that need to write to /var # Other early boot units that need to write to /var
Before=systemd-random-seed.service plymouth-read-write.service Before=systemd-random-seed.service plymouth-read-write.service
# tmpfiles.d usually needs write access to a few places
Before=systemd-tmpfiles-setup.service
[Service] [Service]
Type=oneshot Type=oneshot