Bug 761460 - guestfs_utimens hangs on named pipes
Summary: guestfs_utimens hangs on named pipes
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-08 11:23 UTC by Richard W.M. Jones
Modified: 2011-12-08 11:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-08 11:51:37 UTC


Attachments (Terms of Use)

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.


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