[augeas-devel] Re: [Augeas] #86: slapd.conf save fails

Augeas trac at fedorahosted.org
Wed Sep 9 02:12:09 UTC 2009


#86: slapd.conf save fails
----------------------+-----------------------------------------------------
  Reporter:  wayland  |       Owner:  lutter
      Type:  defect   |      Status:  new   
  Priority:  major    |   Milestone:  next  
 Component:  Augeas   |     Version:  0.5.1 
Resolution:           |    Keywords:        
----------------------+-----------------------------------------------------
Changes (by wayland):

  * version:  0.5.0 => 0.5.1

Comment:

 I've done a little more tracking.  The problem could be because it inserts
 the new info at the end of the file.

 It even fails if I precede the "set" with:

  ins include[last] after /files/etc/openldap/slapd.conf/include[4]

 Just to make things more exciting, I also tried:

  ins include[5] after /files/etc/openldap/slapd.conf/include[4]

  set /files/etc/openldap/slapd.conf/include[5]
 /etc/openldap/schema/redhat/autofs.schema

 According to "ls /files/etc/openldap/slapd.conf/", this inserts the
 include statement both in the right place, and at the end of the file.
 Confusing.

 Incidentally, the version I'm seeing this in is 0.5.2, but that doesn't
 seem to be an option in trac.

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




More information about the augeas-devel mailing list