[augeas-devel] Re: [Augeas] #7: match lists nodes that do not exist

Augeas trac at fedorahosted.org
Tue Dec 16 08:10:05 UTC 2008


#7: match lists nodes that do not exist
----------------------+-----------------------------------------------------
  Reporter:  raphink  |       Owner:  lutter  
      Type:  defect   |      Status:  assigned
  Priority:  major    |   Milestone:  next    
 Component:  Augeas   |     Version:  0.2.2   
Resolution:           |    Keywords:          
----------------------+-----------------------------------------------------
Comment (by ddumont):

 Hello

 Here's the sshd_file to reproduce the bug:

 {{{
 X11Forwarding        yes

 Match  User domi
 AllowTcpForwarding   yes
 PasswordAuthentication yes
 RhostsRSAAuthentication no
 RSAAuthentication    yes
 X11DisplayOffset     10
 X11Forwarding        yes

 # un commentaire
 Match User sarko Group pres.*
 Banner /etc/bienvenue.txt
 X11Forwarding no

 # some comment
 Match User bush Group pres.* Host white.house.*
 Banner /etc/welcome.txt
 }}}

 Note that
 {{{
 print /files/etc/ssh/sshd_config/Match
 }}}

 gives correct results but

 {{{
 print /files/etc/ssh/sshd_config/Match/*
 }}}

 prints messed up indexes

 Hope this helps

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/7#comment:6>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list