On Thu, Aug 22, 2013 at 02:40:27PM +0200, Olaf Hering wrote:
On Sun, Aug 18, Olaf Hering wrote:
I think calling "sh" before "mount" should not confuse guestfish like that:
# guestfish (1.20.4 on sles11sp3)
Doing the same, by accident, with 1.22.5 causes a crash:
# guestfish -r -v --network
<fs> add-drive /work/kvm/images/opensuse12.3/disk0.raw <fs> launch
<fs> sh "ip a" guestfsd: main_loop: new request, len 0x30 guestfsd: error: do_command: you must call 'mount' first to mount the root filesystem *** glibc detected *** guestfsd: free(): invalid pointer: 0x00007fffd8425ba0 *** libguestfs: error: sh: do_command: you must call 'mount' first to mount the root filesystem <fs> mount /de======= Backtrace: ========= /lib64/libc.so.6(+0x733b6)[0x7f4994ae83b6] /lib64/libc.so.6(cfree+0x6c)[0x7f4994aed2dc] guestfsd[0x409e6f] guestfsd[0x40a01b] guestfsd[0x43e9a1] guestfsd[0x422bd7] guestfsd[0x41606c] /lib64/libc.so.6(__libc_start_main+0xfd)[0x7f4994a93bfd] uestfsd[0x405189]
Yup, that's a bug :-( https://bugzilla.redhat.com/show_bug.cgi?id=1000121 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 KVM guests. http://libguestfs.org/virt-v2v