Bug 586403 - apache plugin fails when augeas 0.7.0 is used.
Summary: apache plugin fails when augeas 0.7.0 is used.
Alias: None
Product: RHQ Project
Classification: Other
Component: Agent
Version: unspecified
Hardware: All
OS: Linux
high vote
Target Milestone: ---
: ---
Assignee: Filip Drabek
QA Contact: Corey Welton
Depends On:
Blocks: jon24-apache
TreeView+ depends on / blocked
Reported: 2010-04-27 13:35 UTC by Filip Drabek
Modified: 2010-08-12 16:46 UTC (History)
1 user (show)

Fixed In Version: 2.4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-08-12 16:46:52 UTC

Attachments (Terms of Use)

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.

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