Hide Forgot
Description of problem: $ augtool Failed to initialize Augeas error: Syntax error in lens definition /usr/share/augeas/lenses/virtlockd.aug:3.0-.6:The module Libvirtd must be in a file named libvirtd.aug Version-Release number of selected component (if applicable): augeas-1.1.0-2.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. Install augeas. 2. Run 'augtool' command with no arguments. 3. Actual results: See above. Expected results: Should enter the shell. Additional info:
Dominic points out this is a libvirt bug. The following patch should be backported: http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=3e32544 I have libvirt-daemon-1.1.1-3.el7.x86_64
It looks like the test file wasn't updated in 3e32544 either. Upstream it's still referring to Libvirtd.lns: http://libvirt.org/git/?p=libvirt.git;a=blob;f=src/locking/test_virtlockd.aug.in;h=dcd47c38b600c753f9bede652f45ff2eb95bb9ec;hb=HEAD
(In reply to Dominic Cleal from comment #2) > It looks like the test file wasn't updated in 3e32544 either. Upstream it's > still referring to Libvirtd.lns: > > http://libvirt.org/git/?p=libvirt.git;a=blob;f=src/locking/test_virtlockd. > aug.in;h=dcd47c38b600c753f9bede652f45ff2eb95bb9ec;hb=HEAD And what should it be referring to?
Created attachment 793226 [details] fix virtlockd augeas lens test It should refer to Virtlockd.lns, which is the name of the module + lens in virtlockd.aug. A quick test with augparse shows the Virtlockd module appears to pass the test still: $ cp src/locking/test_virtlockd.aug{.in,} $ augparse -I src/locking src/locking/test_virtlockd.aug [ no output ]
To POST: http://post-office.corp.redhat.com/archives/rhvirt-patches/2013-September/msg00061.html
*** Bug 1004162 has been marked as a duplicate of this bug. ***
Can we please fix this ASAP since it stops any builds of libguestfs. Plus from Monday all bugs need 3 acks.
With libvirt-1.1.1-4.el7.x86_64 augeas-1.1.0-2.el7.x86_64 # augtool augtool> No error in log , so Verify this bug and clear the NEEDINFO.
*** Bug 1006358 has been marked as a duplicate of this bug. ***
Also works for me with libguestfs.
This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request.