Bug 516031 - list-devices fails with "readdir: /sys/block: No medium found"
list-devices fails with "readdir: /sys/block: No medium found"
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Richard W.M. Jones
Depends On:
  Show dependency treegraph
Reported: 2009-08-06 09:34 EDT by Richard W.M. Jones
Modified: 2010-03-16 13:22 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-08-06 10:11:06 EDT
Type: ---
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 Richard W.M. Jones 2009-08-06 09:34:56 EDT
Description of problem:

$ ./fish/guestfish 

Welcome to guestfish, the libguestfs filesystem interactive shell for
editing virtual machine filesystems.

Type: 'help' for help with commands
      'quit' to quit the shell

><fs> alloc /tmp/test.img 200M
><fs> run
><fs> list-devices
libguestfs: error: readdir: /sys/block: No medium found

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

Suspicion falls on:
Comment 1 Richard W.M. Jones 2009-08-06 10:10:52 EDT
I can confirm this is fixed upstream by:

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