Bug 586403

Summary: apache plugin fails when augeas 0.7.0 is used.
Product: [Other] RHQ Project Reporter: Filip Drabek <fdrabek>
Component: AgentAssignee: Filip Drabek <fdrabek>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: high Docs Contact:
Priority: medium    
Version: unspecifiedCC: lutter
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-12 16:46:52 UTC Type: ---
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: 577313    

Description Filip Drabek 2010-04-27 13:35:31 UTC
Apache plugin fails when augeas 0.7 is used.
When httpd recursive lens is used and we try to change configuration and save that change this error occurs:

get.c:952: rec_process: Assertion `lens->tag == L_REC && lens->jmt != ((void *)0)' failed.

Comment 1 Charles Crouch 2010-05-04 17:06:26 UTC
According to fdrabek this should be fixed in 0.7.1 of augeas. That only appears to be available here (http://koji.fedoraproject.org/koji/buildinfo?buildID=168241) right now

Comment 2 Charles Crouch 2010-05-04 17:46:20 UTC
(12:38:27 PM) ccrouch: cswiii: so can you verify if you see https://bugzilla.redhat.com/show_bug.cgi?id=586403 too?
(12:40:53 PM) cswiii: ccrouch: if i can better determine what "fails" means.... where are we seeing that get.c message?  I can read / change config stuff so it /may/ work.  but the way comments get mucked up don't exactly provide a clear result.

Comment 3 Charles Crouch 2010-05-17 16:30:15 UTC
Filip please work with Corey on reproduction steps and see if this is still an issue with augeas 0.7.1

Comment 4 Charles Crouch 2010-05-18 14:09:38 UTC
Should go to ON_QA, along with reproduction steps

Comment 5 Filip Drabek 2010-05-18 15:54:00 UTC
Repro steps:

1. Copy httpd lens from plugin resources to /usr/share/augeas/lenses/dist/ 
2. start augeas by command augtool
3. change any apache value (for example:
  "set /files/etc/httpd/conf/httpd.conf/<IfModule?[2]/param test.c"
4. save the changes by command "save"
5. If the problem is still there then command save will end the augtool with error message "get.c:952: rec_process: Assertion `lens->tag == L_REC && lens->jmt != ((void *)0)' failed."

Comment 6 Corey Welton 2010-05-21 15:47:15 UTC
QA Verified

Comment 7 Corey Welton 2010-08-12 16:46:52 UTC
Mass-closure of verified bugs against JON.