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

Re: update-initramfs, chroots ro /boot, and debian-live (Re: d-l and /boot ro)



On Tue, 28 Aug 2007, Justin Pryzby wrote:

> On Tue, Aug 28, 2007 at 09:13:00PM +0200, Daniel Baumann wrote:
> > Justin Pryzby wrote:
> > > Check update-initramfs, which reads from proc/mounts, which makes the
> > > scripts not completely hostfs agnostic.
> > 
> > ummm.. bad one that, thanks for pointing it out.
> > 
> > someone has a good idea about that? actually, at the time where
> > update-initramfs is run, we should not mount /proc, but that's going to
> > be a bit nasty to mount/unmount it just before and after lh_chroot_hacks.

well update-initramfs checks if there is a readable /proc/mounts,
so if /proc is !mounted everything si fine.

> initramfs people, see thread starting at:
> http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-August/002075.html

hope aboves helps, regards

-- 
maks



Reply to: