Bug 761460

Summary: guestfs_utimens hangs on named pipes
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: mark.olliver, mbooth, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-08 11:51:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Richard W.M. Jones 2011-12-08 11:23:09 UTC
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 11:51:26 UTC
Fixed in git commit 19e2f5aa4fd4ed70b505661d918b5575616ad441.