Bug 845522 - guestfish "copy-out / localdir" command fails with "No such file or directory"
guestfish "copy-out / localdir" command fails with "No such file or directory"
Status: CLOSED UPSTREAM
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Richard W.M. Jones
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-03 06:05 EDT by Richard W.M. Jones
Modified: 2012-08-03 07:55 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-08-03 07:55:55 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Richard W.M. Jones 2012-08-03 06:05:22 EDT
Description of problem:

$ guestfish -N fs -m /dev/sda1 copy-out / /tmp
No such file or directory
libguestfs: error: /dev/fd/7: write: Broken pipe

This works if some other source directory that "/" is used, eg:

$ guestfish -N fs -m /dev/sda1 mkdir /foo : copy-out /foo /tmp
[no error]

Version-Release number of selected component (if applicable):

libguestfs 1.18.5.

How reproducible:

100%
Comment 1 Richard W.M. Jones 2012-08-03 07:55:55 EDT
Fixed upstream in commit 2a87261dfc830cd6bcb44aa1628d955cb6423bd7.

Note You need to log in before you can comment on or make changes to this bug.