Re: [Libguestfs] Guestfish errors (Running in VirtualBox)
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
On Fri, Apr 08, 2011 at 07:33:24AM -0700, Chris Willmore wrote:
I removed /tmp/.guestfish-* and getting same error (ostensibly same error output).
That's the guestfish temporary files, nothing to do with the appliance cache. Try removing /tmp/.guestfs-* and/or /var/tmp/.guestfs-* instead. Note that in your original trace[1] the appliance had already been cached, so w didn't get to see any errors from the build. Therefore if it is still failing after removing the cached appliance, post the output of libguestfs-test-tool on the first run after doing that 'rm -r'.
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
This looks good to me, except that from your original trace[1] the path would have been /usr/*local*/lib/.... Is it odd that this path has changed? Are you running matching versions of the library and the appliance? Do you have another version installed from some previous attempt? Rich. [1] https://www.redhat.com/archives/libguestfs/2011-April/msg00028.html -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/
participants (2)
-
Chris Willmore -
Richard W.M. Jones