[augeas-devel] Need help with logrotate lens enhancement
Sean E. Millichamp
sean at bruenor.org
Fri Sep 26 15:48:41 UTC 2008
I bumped into another option that the logrotate lens didn't support so I
decided to try to add support for all listed config directives in my
Fedora 9 logrotate manpage.
I think I almost have it, except I am getting an error during augparse.
This doesn't seem to keep augtool from being able to set/clear/print the
value, but I imagine I am getting the error for a reason. The tabooext
option gave me lots of trouble so I'll believe I still have something
wrong.
I'm not sure what to do with this:
$ augparse -I. logrotate.aug
logrotate.aug:95.3-97.43:Failed to compile body
logrotate.aug:43.36-.113:exception: ambiguous concatenation
'tabooext + A' can be split into
'tabooext|=| + A'
and
'tabooext +|=| A'
First lens: logrotate.aug:43.36-.100
Second lens: logrotate.aug:43.103-.113
logrotate.aug:105.3-.54:Failed to compile lns
logrotate.aug:43.36-.113:exception: ambiguous concatenation
'tabooext + A' can be split into
'tabooext|=| + A'
and
'tabooext +|=| A'
First lens: logrotate.aug:43.36-.100
Second lens: logrotate.aug:43.103-.113
logrotate.aug: error: Loading failed
Any ideas?
Sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: augeas-logrotate-options.patch
Type: text/x-patch
Size: 3453 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20080926/a7878a20/attachment.bin>
More information about the augeas-devel
mailing list