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 728762 - Do not create /var/log/journal on deploy
Do not create /var/log/journal on deploy
Status: RESOLVED FIXED
Product: ostree
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: OSTree maintainer(s)
OSTree maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-04-22 22:35 UTC by Cosimo Cecchi
Modified: 2014-04-25 20:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (1.57 KB, patch)
2014-04-22 22:38 UTC, Cosimo Cecchi
committed Details | Review

Description Cosimo Cecchi 2014-04-22 22:35:22 UTC
Some systems might want to only keep the systemd journal in volatile memory, to minimize writes to flash storage.
OSTree currently creates /var/log/journal at deploy, which automatically turns on persistent storage in the default journald configuration. This policy should be left to the integrator instead, and gnome-ostree-integration in fact already creates /var/log/journal through tmpfiles.
Comment 1 Cosimo Cecchi 2014-04-22 22:38:24 UTC
Created attachment 274915 [details] [review]
patch
Comment 2 Colin Walters 2014-04-23 01:20:13 UTC
Review of attachment 274915 [details] [review]:

Yeah, this was a transient hack that we should just stop doing nowadays.