Bug 904222

Summary: augeas-libs-1.0.0-1.el5 update prevents setting /etc/sysconfig/network
Product: [Fedora] Fedora EPEL Reporter: Nick Vatamaniuc <nick.vatamaniuc>
Component: augeasAssignee: Richard W.M. Jones <rjones>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: el5CC: apevec, dcleal, hbrock, mbooth, mleary, rjones, sagarun
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: augeas-1.0.0-4.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-27 02:00:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 920609    

Description Nick Vatamaniuc 2013-01-25 19:22:15 UTC
Description of problem:

augeas cannot see /etc/sysconfig/network settings file anymore.

augtool> ls /files/etc/sysconfig/network

shows nothing


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

1.0.0-1.el5

How reproducible:

consistent


Steps to Reproduce:
1. augtool> ls /files/etc/sysconfig/network
2.
3.
  
Actual results:

<no result>

Expected results:



Additional info:

How to fix it:


(using Python)
{{{
>>> from augeas import Augeas
>>> a = Augeas(root='/', flags=Augeas.NO_LOAD)
>>> a.remove("/augeas/load/Shellvars/excl[.='/etc/sysconfig/network']")
1
>>> a.load()
>>> a.match('/files/etc/sysconfig/network')
['/files/etc/sysconfig/network']
}}}

(Thank Dominic from #augeas on freenode)

Comment 1 Jaromír Cápík 2013-01-28 16:34:04 UTC
Hello Nick.

It seems you accidently chose a wrong component. Switching from 'atomix' to 'augeas'.

Regards,
Jaromir.

Comment 2 Nick Vatamaniuc 2013-01-29 02:21:48 UTC
Hi Jaromir,

Yes I meant 'augeas', thank you for correcting it.

Comment 3 mleary 2013-01-31 00:54:22 UTC
This update also breaks puppet (epel version).  Since updating all our puppet manifests which use augeas fail with:

Could not evaluate: unknown error - Failed to initialize Augeas

So I'm guessing this extends beyond the sysconfig lens.

Comment 4 Dominic Cleal 2013-01-31 14:05:36 UTC
(In reply to comment #3)
> This update also breaks puppet (epel version).  Since updating all our
> puppet manifests which use augeas fail with:
> 
> Could not evaluate: unknown error - Failed to initialize Augeas
> 
> So I'm guessing this extends beyond the sysconfig lens.

That's a different issue, this describes a problem with one particular file.

Sounds like bug #901663, restart the puppet agent.

Comment 5 mleary 2013-01-31 14:16:10 UTC
You are right - thanks.

Comment 6 Dominic Cleal 2013-03-21 23:18:29 UTC
Fixed upstream: https://github.com/hercules-team/augeas/commit/d6959e62

Comment 8 Fedora Update System 2013-06-18 15:12:33 UTC
augeas-1.0.0-4.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/augeas-1.0.0-4.fc19

Comment 9 Fedora Update System 2013-06-18 15:12:44 UTC
augeas-1.0.0-4.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/augeas-1.0.0-4.fc18

Comment 10 Fedora Update System 2013-06-18 15:12:51 UTC
augeas-1.0.0-4.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/augeas-1.0.0-4.fc17

Comment 11 Fedora Update System 2013-06-18 15:13:00 UTC
augeas-1.0.0-4.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/augeas-1.0.0-4.el5

Comment 12 Fedora Update System 2013-06-18 19:42:33 UTC
Package augeas-1.0.0-4.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing augeas-1.0.0-4.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-11182/augeas-1.0.0-4.fc19
then log in and leave karma (feedback).

Comment 13 Fedora Update System 2013-06-19 09:36:13 UTC
augeas-1.1.0-1.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/augeas-1.1.0-1.el5

Comment 14 Fedora Update System 2013-06-19 09:36:41 UTC
augeas-1.1.0-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/augeas-1.1.0-1.fc19

Comment 15 Fedora Update System 2013-06-19 09:37:09 UTC
augeas-1.1.0-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/augeas-1.1.0-1.fc18

Comment 16 Fedora Update System 2013-06-27 02:00:06 UTC
augeas-1.0.0-4.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Dominic Cleal 2013-06-27 07:57:49 UTC
*** Bug 906361 has been marked as a duplicate of this bug. ***

Comment 18 Fedora Update System 2013-07-10 01:21:47 UTC
augeas-1.1.0-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2013-08-15 23:28:15 UTC
augeas-1.1.0-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2013-08-16 19:54:36 UTC
augeas-1.1.0-1.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.