After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 724183 - boot/ostree-remount.service: run before tmpfiles.d
boot/ostree-remount.service: run before tmpfiles.d
Status: RESOLVED FIXED
Product: ostree
Classification: Infrastructure
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: OSTree maintainer(s)
OSTree maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-02-11 22:20 UTC by Daniel Drake
Modified: 2014-02-11 22:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
boot/ostree-remount.service: run before tmpfiles.d (1.07 KB, patch)
2014-02-11 22:20 UTC, Daniel Drake
committed Details | Review

Description Daniel Drake 2014-02-11 22:20:19 UTC
When implementing the default layout as suggested at
https://developer.gnome.org/ostree/2013.6/layout.html
we ran into difficulties because tmpfiles.d was being run before
ostree has made the appropriate directories read-write.
Comment 1 Daniel Drake 2014-02-11 22:20:21 UTC
Created attachment 268853 [details] [review]
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.
Comment 2 Colin Walters 2014-02-11 22:27:19 UTC
Review of attachment 268853 [details] [review]:

Hm, surprised I haven't hit this myself.  Thanks for the patch!
Comment 3 Colin Walters 2014-02-11 22:27:55 UTC
Attachment 268853 [details] pushed as c8b16d9 - boot/ostree-remount.service: run before tmpfiles.d