Per Bill's mail (below), basic readonly root support is now in the
development tree. I have a working live CD that boots to a login prompt
with a root user basically with the bits I sent mail about earlier in
the week. I'm currently in the progress of pushing that to
, which should hopefully be done shortly (I'll send
a follow-up mail with some info once it's up)
Also, I've got a test going now with more of a desktop install to see
how that's looking while at the same time trying to get rid of the need
for a special hacked anaconda and booty package
-------- Forwarded Message --------
From: Bill Nottingham <notting(a)redhat.com>
Reply-To: Development discussions related to Fedora Core
Subject: [stateless] readonly-root support
Date: Thu, 20 Apr 2006 16:28:39 -0400
Initial readonly root support will be in tomorrow's initscripts-8.33-1.
How to use:
- Edit /etc/sysconfig/readonly-root. Set 'READONLY' to 'yes'.
- Add any exceptions that need to be writable that aren't in the
stock /etc/rwtab to an /etc/rwtab.d file. (See below)
** NOTE: This does not currently work with SELinux. We're working on it. **
How it works:
- On boot, we mount a tmpfs (by default, at /var/lib/stateless/writable),
and then parse /etc/rwtab and /etc/rwtab.d/* for things to put there.
These files have the format:
Types are as follows:
empty: An empty path. Example:
dirs: A directory tree that is copied, empty. Example:
files: A file or directory tree that is copied intact. Example:
A stock rwtab is shipped with common things that need mounted. We're
currently investigating other things. If you come up with new ones,
please file a bug.
Problems should be filed in bugzilla at https://bugzilla.redhat.com/
product Fedora Core, release devel, component initscripts.
Things we know need work:
- a simple 'prepare' script for a filesystem that is intended to
be mounted read-only - it will update various caches (beagle,
locate), clean out extraneous temporary files, and build the
SELinux policy module.
- using local storage automatically for swap, etc.
- the rest of http://fedoraproject.org/wiki/StatelessLinux