[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.



On Thu, 2007-12-06 at 12:03 -0500, Bill Nottingham wrote:
> 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.

Oh, I think I'm following you now.  Because there's now /etc in stage1
and stage2 and different things need from one vs the other?  What if we
just had a copy of the files which are in the initrd in both places.
Then we could just move over /mnt/runtime/etc like we do today.  I can't
imagine the space hit being that significant

Jeremy


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