Description of problem: From a directory full of files, try this: $ guestfish -N fs:ext2:10G -m /dev/sda1 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> <! for f in *; do echo copy-in "$f" /; done pclose: No child processes The error appears to be because the guestfish copy-in command starts a tar subprocess. It then calls wait(2). It seems this wait(2) is reaping the wrong process (the <! shell). Really it should call waitpid/wait4 instead to wait for the specific process that it starts. Version-Release number of selected component (if applicable): 1.15.9 Additional info:
Fixed in commit 98edfac1ee70bcf15ee7caebc306e11cdbbb0d9a.