#205: parse_failed for /etc/services (SLES)
----------------------+-----------------------------------------------------
  Reporter:  willert  |       Owner:  lutter
      Type:  defect   |      Status:  new   
  Priority:  major    |   Milestone:  next  
 Component:  Augeas   |     Version:  0.8.0 
Resolution:           |    Keywords:        
----------------------+-----------------------------------------------------
Comment (by domcleal):

 The main issue was that Util.comment_or_eol wouldn't accept a comment
 consisting only of whitespace, this is fixed in my 205-services-sles
 branch:

 https://github.com/domcleal/augeas/tree/205-services-sles

 It does leave another issue though, which is line 2023 in the attached
 file:
 {{{
 supfilesrv  871    # NOT OFFICIAL ASSIGNED
 }}}

 As far as I know, this is invalid.  I've pushed a second branch that makes
 the protocol optional, but I'm not sure it's a particularly good idea.
 The services(5) man page states that invalid lines are skipped, so perhaps
 it's correct in a way.

 Is the protocol still missing in the latest versions of SLES?

 https://github.com/domcleal/augeas/tree/205-services-sles-invalid

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

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

Reply via email to