Bug 726739 - libguestfs: error: aug_get: no matching node, trying to find hostname
Summary: libguestfs: error: aug_get: no matching node, trying to find hostname
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-07-29 16:33 UTC by Richard W.M. Jones
Modified: 2011-07-29 16:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-29 16:39:39 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2011-07-29 16:33:38 UTC
Description of problem:

is_file "/etc/sysconfig/network" = 1
filesize "/etc/sysconfig/network" = 34
aug_init "/" 48 = 0
aug_rm "/augeas/load//incl[. != "/etc/sysconfig/network"]" = 0
aug_load = 0
aug_get "/files/etc/sysconfig/network/HOSTNAME" = NULL (error)
libguestfs: error: aug_get: no matching node

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

libguestfs 1.8.8
inspecting CentOS 5.5 guest

The problem is that the /etc/sysconfig/network file does
not contain the expected HOSTNAME entry.  This should not
cause inspection to fail.


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