update-initramfs, chroots ro /boot, and debian-live (Re: d-l and /boot ro)
- Subject: update-initramfs, chroots ro /boot, and debian-live (Re: d-l and /boot ro)
- From: max at stro.at (maximilian attems)
- Date: Mon, 3 Sep 2007 20:49:40 +0200
- Message-id: <[🔎] 20070903184940.GD19573@stro.at>
- In-reply-to: <20070828195932.GA23160@quoininc.com>
- References: <20070828172050.GA9741@quoininc.com> <46D46F22.3040805@debian.org> <20070828185534.GA23695@quoininc.com> <46D473BC.1070802@debian.org> <20070828195932.GA23160@quoininc.com>
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: