Bug 516031 - list-devices fails with "readdir: /sys/block: No medium found"
list-devices fails with "readdir: /sys/block: No medium found"
Status: CLOSED UPSTREAM
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
unspecified
All Linux
low Severity medium
: ---
: ---
Assigned To: Richard W.M. Jones
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2009-08-06 10:11:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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:
http://git.et.redhat.com/?p=libguestfs.git;a=commitdiff;h=98bc29fda446f5c667f4bc799161b3446bfc2ca1
Comment 1 Richard W.M. Jones 2009-08-06 10:10:52 EDT
I can confirm this is fixed upstream by:
http://git.et.redhat.com/?p=libguestfs.git;a=commitdiff;h=2b8019e56cf40fe8e8223b4e57cfd590495e8e60

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