On Wed, Aug 10, 2011 at 12:09 PM, Richard W.M. Jones
On Wed, Aug 10, 2011 at 11:27:34AM -0700, David Konerding wrote:I went back to febootstrap from git, recompiled with the latest
> 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:
> There are 1361 files in the list.
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
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.
Because of the warning above, febootstrap doesn't include the
> > 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.
filenames in hostfiles:
This is correct.
> 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.
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.