Description of problem: Looks to be an augeas related problem trying to save a config change to postfix's access file. Version-Release number of selected component (if applicable): [jonqa@jweiss-rhel3 bin]$ rpm -q augeas augeas-0.6.0-2.el5 How reproducible: Always (with this environment) Steps to Reproduce: 1. Take postfix server into inventory 2. Navigate to Postfix server's "Access File" child. 3. Edit the configuration, add a new property set, the 3 fields set to: "Ip address 1.2.3" "ACCEPT" [not set] 4. Save the configuration Actual results: The configuration update fails. Clicking on the "Failure" link shows (after unescaping the bad encoding): > java.lang.RuntimeException: File "/etc/postfix/access/error/path":/files/etc/postfix/access/00File "/etc/postfix/access/error/lens":/usr/share/augeas/lenses/dist/postfix_access.aug:22.17-25.70:File "/etc/postfix/access/error/message":Failed to match { /pattern/ = /[^- > #] / }{ /action/ = /[^- > #] / }{ /parameters/ = /[^- > #]|[^- > #]([^- > #]| > [ ] )*[^- > #]/ }? with tree { "pattern" = "Ip address 1.2.3" } { "action" = "ACCEPT" }at org.rhq.plugins.augeas.AugeasConfigurationComponent.saveConfigurationFiles(AugeasConfigurationComponent.java:615)at org.rhq.plugins.augeas.AugeasConfigurationComponent.updateResourceConfiguration(AugeasConfigurationComponent.java:179)at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:616)at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525)at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)at java.util.concurrent.FutureTask.run(FutureTask.java:166)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)at java.lang.Thread.run(Thread.java:636)Caused by: net.augeas.AugeasException: save failedat net.augeas.Augeas.processLastCall(Augeas.java:396)at net.augeas.Augeas.save(Augeas.java:338)at org.rhq.plugins.augeas.AugeasConfigurationComponent.saveConfigurationFiles(AugeasConfigurationComponent.java:613)... 10 more Expected results: Configuration update completes successfully. Additional info: See RHQ-665 for the bug on error message text encoding problem.
Created attachment 382313 [details] My existing /etc/postfix/access file
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs. keyword: new = Tracking + FutureFeature + SubBug
making sure we're not missing any bugs in rhq_triage
Lowering severity/priority - not an enterprise plugin