Hi Rich,

I removed /tmp/.guestfish-* and getting same error (ostensibly same error output).

willmore@sm-vm:~$ cpio -itv < /usr/lib/guestfs/supermin.d/init.img
-rwxr-xr-x   1 willmore willmore     3280 Dec 10 19:34 init
7 blocks

Regards,
Chris



From: Richard W.M. Jones <rjones@redhat.com>
To: Chris Willmore <chris.willmore@yahoo.com>
Cc: "libguestfs@redhat.com" <libguestfs@redhat.com>
Sent: Friday, April 8, 2011 4:32 PM
Subject: Re: [Libguestfs] Guestfish errors (Running in VirtualBox)

On Fri, Apr 08, 2011 at 02:28:02PM +0100, Richard W.M. Jones wrote:
> On Fri, Apr 08, 2011 at 05:50:47AM -0700, Chris Willmore wrote:
> > execl: /init: No such file or directory
>
> What does this say:
>
> cpio -itv < /usr/lib64/guestfs/supermin.d/init.img
>
> (adjust path to your appliance as appropriate).
>
> I have a feeling that this was caused by something stupid such as
> /init not being executable.

Actually I was thinking of this bug which is different:

https://bugzilla.redhat.com/show_bug.cgi?id=666880

However still interested to see the output from the above command.

Also try forcing the appliance to get rebuilt.  Remove the temporary
cache directory (usually in /tmp/.guestfs-* or /var/tmp/.guestfs-*).

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw