On Tue, 2008-09-09 at 13:38 +0200, Dominique Dumont wrote:
> Btw, could we write sshd lens as :
> 
>   let lns = (comment | accept_env | allow_groups | allow_users
>           | deny_groups | subsystem | deny_users | macs 
>           | other_entry ) * . match* . end_of_file
> 
> So that we would be sure that Match entries are the last in the
> sshd_config file ?
> 
> If this is possible, augeas could ensure that added entries in
> sshd_config are not written after the Match block.

That should be already the case with the way the lens is now .. if you
have a non-Match after the matches, that should produce an error, but
doesn't. Clearly a bug [1].

David

[1] https://fedorahosted.org/augeas/ticket/22


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

Reply via email to