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

Re: [PATCH 03/15] Copy /etc and /var from /mnt/runtime to the root filesystem.

Jeremy Katz (katzj redhat com) said: 
> On Wed, 2007-12-05 at 18:24 -0500, Bill Nottingham wrote:
> > Apps running in the second stage may expect to have 'normal' files in
> > /etc or /var. By staging it this way, they can just be kept in the
> > second stage, and copied to the first stage at runtime, rather than
> > having to keep them in the first stage. We can't symlink to
> > /mnt/runtime/etc or /mnt/runtime/var, because the second stage isn't
> > writable. /etc/selinux is still symlinked, because it's huge.
> What needs something to be writable under /etc at runtime?

The problem isn't writable, the problem is that it needs to be *there*
under /etc. As it stands now, things in /mnt/runtime either need modified
to look in a different /etc/, or have their required /etc files installed
in stage1.

> /var I can
> see although we could also continue the path of what we've done
> for /var/lib/xkb to point the paths we know need to be writable at /tmp
> instead

Again, that means putting any required /var things in stage1, and requires
that everyone know that you can't just put /etc or /var stuff in KEEPFILES
and expect it to work.


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