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]
... Olaf