[augeas-devel] Shellvars patch

Sylvain Baubeau bob at glumol.com
Mon Oct 13 18:06:22 UTC 2008


Hello,

While using Augeas on my Fedora, I tried to parse /etc/sysconfig/selinux
Parsing failed because of the line :

SETLOCALDEFS=0

that ended with a space. The corresponding lense 'shellvars' doesn't want
any space to be in a value at the right of the '=' character. The provided
patch makes augeas ignore spaces at the end of a line.
No doubt there is a bug in the selinux config file provided by Fedora though

Cheers
Sylvain Baubeau
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shellvars-blank-at-eol.patch
Type: application/octet-stream
Size: 692 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20081013/3be2a538/attachment.obj>


More information about the augeas-devel mailing list