Description of problem: Possibly a Fedora packaging problem, but the guestfish 'rsync-out' command fails like this: $ sudo guestfish --network --ro -a ubuntu.img -i rsync-out /home choo:/tmp/backup archive:true libguestfs: error: rsync_out: '/home' to 'choo:/tmp/backup': ssh: error while loading shared libraries: libldap-2.4.so.2: cannot open shared object file: No such file or directory rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32) rsync error: remote command not found (code 127) at io.c(1532) [sender=3.0.9] Version-Release number of selected component (if applicable): guestfish 1.21.31fedora=20,release=1.fc20,libvirt How reproducible: 100% Steps to Reproduce: 1. As above.
Using virt-rescue: ><rescue> ssh choo ssh: error while loading shared libraries: libldap-2.4.so.2: cannot open shared object file: No such file or directory ><rescue> ldd /usr/bin/ssh [...] libldap-2.4.so.2 => not found liblber-2.4.so.2 => not found [...] It appears that some dependencies of ssh are really missing.
I "fixed" this by uninstalling and reinstalling openldap-devel. I asked about this odd problem on the Fedora devel mailing list. The archive hasn't been updated, but it should appear here: http://lists.fedoraproject.org/pipermail/devel/2013-April/thread.html
The thread is here, with no particular resolution: https://lists.fedoraproject.org/pipermail/devel/2013-April/thread.html#181719 This seems to be a Fedora problem anyhow. There is now a regression test for rsync commands so I expect if this happens in future it will be caught.