This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 761460 - guestfs_utimens hangs on named pipes
guestfs_utimens hangs on named pipes
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: 2011-12-08 06:23 EST by Richard W.M. Jones
Modified: 2011-12-08 06:51 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-12-08 06:51:37 EST
Type: ---
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 2011-12-08 06:23:09 EST
Description of problem:

$ guestfish -N fs -m /dev/sda1 -x -- \
    mkfifo 0644 /pipe : utimens /pipe -1 -1 -1 -1
libguestfs: trace: set_pgroup true
libguestfs: trace: set_pgroup = 0
libguestfs: trace: add_drive "test1.img"
libguestfs: trace: add_drive = 0
libguestfs: trace: is_config
libguestfs: trace: is_config = 1
libguestfs: trace: launch
libguestfs: trace: launch = 0
libguestfs: trace: part_disk "/dev/sda" "mbr"
libguestfs: trace: part_disk = 0
libguestfs: trace: mkfs "ext2" "/dev/sda1"
libguestfs: trace: mkfs = 0
libguestfs: trace: mount_options "" "/dev/sda1" "/"
libguestfs: trace: mount_options = 0
libguestfs: trace: mkfifo 420 "/pipe"
libguestfs: trace: mkfifo = 0
libguestfs: trace: utimens "/pipe" -1 -1 -1 -1
[^ hangs here]

(Reported by Mark Olliver).

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

1.15.10.

How reproducible:

100%
Comment 1 Richard W.M. Jones 2011-12-08 06:51:26 EST
Fixed in git commit 19e2f5aa4fd4ed70b505661d918b5575616ad441.

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