[Libguestfs] appliance VM won't start, can't find /init, but /init is in the image.

Richard W.M. Jones rjones at redhat.com
Fri Aug 12 16:39:12 UTC 2011


On Fri, Aug 12, 2011 at 09:34:38AM -0700, David Konerding wrote:
> Gotcha.  I can confirm that
> $ apt-cache depends --recurse -i bash libc6 | grep -v '^[<[:space:]]' | grep
> libc
> is empty, while
> 
> $ apt-cache depends --recurse -i libc6 | grep -v '^[<[:space:]]' | grep libc
> lists libc6.
> 
> Just to explore a bit more:
> $ apt-cache depends --recurse -i bash libc6
> bash
>   Depends: base-files
>   Depends: debianutils
>   PreDepends: dash
>   PreDepends: libc6
>   PreDepends: libncurses5
> 
> I'm going to check with our local distribution developers and see what's
> going on.

Simplest workaround is to add any packages that are missing directly to:

  appliance/packagelist.in

then rebuild the appliance (make -C appliance clean all).

Possibly febootstrap should include PreDepends dependencies?  For some
reason this issue doesn't affect us on Debian / Ubuntu later versions.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the Libguestfs mailing list