Short summary:
my umask was set to 0027 and this was causing tar to extract the files with screwed up permissions.

On Wed, Aug 10, 2011 at 12:09 PM, Richard W.M. Jones <rjones@redhat.com> wrote:
On Wed, Aug 10, 2011 at 11:27:34AM -0700, David Konerding wrote:
> This fetches bash, dash, and a number of other packages.  It reports:
> 1719 files and directories
> febootstrap: warning: some host files are unreadable by non-root
> febootstrap: warning: get your distro to fix these files:
>         /bin/bash
>         /bin/cat
>         /bin/chgrp
>         /bin/chmod
> ...
>
> There are 1361 files in the list.

I went back to febootstrap from git, recompiled with the latest
version, and also made sure my Ubuntu 11.04 system was fully up to
date and had been rebooted.

'./febootstrap -v --names bash' downloaded 42 packages from natty.
There were no warnings about unreadable host files.

It seems clear enough to me that the warnings you are seeing are the
root cause of your problems.  The test that is failing is 'mode & 004 == 0',
so either mode is being read incorrectly, or that test is failing.
The mode of /tmp/.../bin/bash (-rwxr-xr-x == 0755) would appear to be
correct.

I'm afraid I don't know why you're seeing these warnings.  I think
your best bet would be to grab febootstrap from git, sprinkle a few
printf statements around, and try to see what's going on.

> > If base.img and hostfiles look reasonable, try building an appliance
> > from them:
> >
> >
> Looking at hostfiles, there is no /bin/bash, but there is /bin/sh and
> /bin/rbash (BTW, Ubuntu uses dash as the main /bin/sh, not bash, but I
> assume that's not relevant).  sh is a symlink to bash, as is rbash.

Because of the warning above, febootstrap doesn't include the
filenames in hostfiles:

http://git.annexia.org/?p=febootstrap.git;a=blob;f=febootstrap.ml;h=7e48206e88ac6e3f97a9cda80fbcb3a16c80074e;hb=HEAD#l247

> I extracted base.img, and it doesn't include any files in /bin.  It looks
> like all the files in that archive are text/config files or symlinks.

This is correct.

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top