Bug 1018275 - virt-sandbox consumes 100% cpu when piping input
virt-sandbox consumes 100% cpu when piping input
Status: NEW
Product: Virtualization Tools
Classification: Community
Component: libvirt-sandbox (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Libvirt Maintainers
Depends On:
  Show dependency treegraph
Reported: 2013-10-11 11:24 EDT by Daniel Berrange
Modified: 2018-04-27 17:35 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Daniel Berrange 2013-10-11 11:24:50 EDT
Description of problem:
If running virt-sandbox with a pipe for stdin


  virt-sandbox -c lxc:/// /bin/date < /dev/null

then it consumes 100% cpu and never exits. Something is broken in its handling of consoles when not using a tty.

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

How reproducible:

Steps to Reproduce:
1.   virt-sandbox -c lxc:/// /bin/date < /dev/null

Actual results:
100% cpu usage, never exits

Expected results:
Prints date and exits.

Additional info:

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