Great you found the issue - just to be a stickler for detail:

On Sun, Oct 6, 2013 at 1:50 PM, Patrick Spinler <[email protected]>wrote:

> On 10/6/13 3:43 PM, Patrick Spinler wrote:
> >
> > $ sudo augtool --noload
> > augtool> print /augeas//errors
> > augtool> set /augeas/load/Iptables/lens Iptables.lns
> > augtool> set /augeas/load/Iptables/incl /etc/sysconfig/iptables
> > error: Too many matches for path expression
>

What's going wrong here is that there are two /augeas/load/Iptables/incl
nodes created by the autoload directive in iptables.aug; the first argument
to set needs to be a single node.

Running augtool with --noautoload will certainly fix that, as would a 'rm
/augeas/load/Iptables/*' before your set statements ... though that might
not really be waht you want.

David
_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to