[klibc] [PATCH 6/8] switch_root: Fix single file mounts

maximilian attems max at stro.at
Wed Jul 27 12:42:32 PDT 2011


On Mon, 18 Jul 2011, Michal Suchanek wrote:

> Hello,
> 
> Excerpts from maximilian attems's message of Wed Jul 13 15:48:31 +0200 2011:
> > From: Michal Suchanek <michal.suchanek at ruk.cuni.cz>
> > 
> > The root of the failure is that nuke cannot cope with file
> > mounts (single files mounted, not directories). These are the result of
> > using fuse to get to the root filesystem (httpfs, curlftpfs).
> > 
> > This fixes
> > http://bugs.debian.org/476268
> 
> thanks for looking into this.
> 
> Since this is a long-standing issue I wrapped the file mount in a tmpfs
> mount as a workaround.
> 
> I hope this makes life easier for people trying to use klibc in the
> future.

after the post I'm less convinced of this patchset.
What is the meaning of such a left mounted tmpfs in initramfs?
One can't access it afterwards from the new root.

as you can read in the following post mikew also opted for the
strict error http://www.zytor.com/pipermail/klibc/2011-July/003002.html
handling as it is currently done in run-init.

the util-linux switch_root is in contrary very lax, but that
way dev errors can't be catched.

-- 
maks

P.S. adding relevant people on the cc.



More information about the klibc mailing list