ostree/src/switchroot
Owen W. Taylor ff6883ca06 ostree-remount: mount a tmpfs on /var if necessary so /var is read-write
/var needs to be read-write for a functioning system. Various
systemd services will fail to start if /var is read-only. After we
remount /var (or if we skip remounting /var because / is read-only),
if /var is still readonly, mount a tmpfs file system on /var.

While this isn't strictly part of ostree, keeping it here makes sense
because it keeps twiddling around with the /var mount in one place
for easier coordination and maintenance. This will likely need updating
if systemd gains better support for a readonly root filesystem.

https://bugzilla.gnome.org/show_bug.cgi?id=732979
2014-07-09 21:24:07 -04:00
..
ostree-mount-util.c Use AC_USE_SYSTEM_EXTENSIONS instead of #define _GNU_SOURCE 2013-07-10 13:25:35 -04:00
ostree-mount-util.h Switch to #pragma once for headers 2013-07-09 18:53:22 -04:00
ostree-prepare-root.c Add /run/ostree-booted 2014-02-28 03:49:25 -05:00
ostree-remount.c ostree-remount: mount a tmpfs on /var if necessary so /var is read-write 2014-07-09 21:24:07 -04:00