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



commit c8b16d931317d3fdffc45cb68d4764b04b7a366c
Author: Daniel Drake <drake endlessm com>
Date:   Tue Feb 11 16:13:34 2014 -0600

    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

 src/boot/ostree-remount.service |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/boot/ostree-remount.service b/src/boot/ostree-remount.service
index f13f2ae..196649b 100644
--- a/src/boot/ostree-remount.service
+++ b/src/boot/ostree-remount.service
@@ -26,6 +26,8 @@ After=systemd-remount-fs.service
 Before=local-fs.target umount.target
 # Other early boot units that need to write to /var
 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]
 Type=oneshot


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]