On Wed, Aug 10, 2011 at 7:56 AM, Richard W.M. Jones <rjones redhat com>
On Tue, Aug 09, 2011 at 09:41:47AM -0700, David Konerding wrote:The one I'm routinely building on is 11.04.
> It's a Lucid Lynx derivative, and we don't have that package. Maybe I can
> shoehorn it in.
> > The problem is that both /bin/bash and libc are completely missingOK, why is /bin/bash unreadable by non-root? Is the real /bin/bash
> > from the appliance.
> i see.
> > During the build, was febootstrap able to download all the packages it
> > needed?
> Looks like it (I see a bunch of package downloads, none of them failed).
> However, I re-ran this, and I see this (the list is some ~thousands of
> files, I guess the entire unpacked root filesystem?)
> febootstrap: warning: some host files are unreadable by non-root
> febootstrap: warning: get your distro to fix these files:
BTW, it's actually a list of ~8000 files (looks like all the unpacked files from all the .debs that got downloadeD).
I stopped feboostrap during its download after it downloaded the .deb for bash (there seems to be no option to force febootstrap to not clean up /tmp/febootstrap* after running).
I see no reason why feboostrap wouldn't be able to read these files:
2318338 4 drwxr-xr-x 2 dek redacted 4096 Aug 10 09:39 /tmp/bashpkg/bin
2318444 0 lrwxrwxrwx 1 dek redacted 4 Aug 10 09:39 /tmp/bashpkg/bin/sh -> bash
2318443 0 lrwxrwxrwx 1 dek redacted 4 Aug 10 09:39 /tmp/bashpkg/bin/rbash -> bash
2318339 920 -rwxr-xr-x 1 dek redacted 934336 Apr 18 2010 /tmp/bashpkg/bin/bash
> I am going to try to reproduce this step with strace to see what theWhat febootstrap does is it downloads the bash package (ie. .deb file),
> underlying problem is. Well, that wasn't very useful- I don't see any calls
> to /bin/bash in the host file system that are failing.
unpacks it, and then looks at the permissions of the files in it.
So it never looks at /bin/bash on the filesystem.
Having said that, why would /bin/bash be unreadable in the package?
I've no idea, it could have been a bug in Lucid that was fixed later.
Or it could be some bug in febootstrap that only affects this older
version of Ubuntu, but not 11.04.
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.