search for: sles11sp2_full_fate310510

Displaying 2 results from an estimated 2 matches for "sles11sp2_full_fate310510".

2013 Aug 18
2
missing mount cmd confuses guestfish
...sh (1.20.4 on sles11sp3) Welcome to guestfish, the libguestfs filesystem interactive shell for editing virtual machine filesystems. Type: 'help' for help on commands 'man' to read the manual 'quit' to quit the shell ><fs> add-drive /dev/shm/olaf/vdisk-sles11sp2_full_fate310510-disk0 ><fs> launch 100% ??? 00:00 ><fs> sh "cd / ; chroot / ; /bin/pwd" libguestfs: error: sh: do_command: you must call 'mount' first to mount the root filesystem ><fs> mount /dev/sda2 / libguestfs: error: mount: call launch before using this function\...
2013 Aug 18
3
missing chdir before chroot in guestfsd
daemon.c does just a chroot, without chdir. The result is that pwd does not work correctly (it causes fs/dcache.c:prepend_unreachable() to add the unreachable string). A workaround is to add "cd /" before each sh command. ><fs> mount /dev/sda2 / ><fs> sh "cd / ; chroot / ; /bin/pwd" / ><fs> sh "/bin/pwd" (unreachable)/ ><fs> sh