Project

General

Profile

Actions

Bug #6197

closed

Spurious slapd.confe in folder /opt/rudder/etc/openldap/

Added by Nicolas CHARLES almost 10 years ago. Updated over 5 years ago.

Status:
Released
Priority:
N/A
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

After upgrading my rudder 2.10 on a centos 6, i got a supurious /opt/rudder/etc/openldap/slapd.confe

content is very close to slapd.conf

diff /opt/rudder/etc/openldap/slapd.conf /opt/rudder/etc/openldap/slapd.confe
73d72
< idlcachesize 570000


Subtasks 1 (0 open1 closed)

Bug #9640: Delete slapd.confeReleasedBenoît PECCATTEActions

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #5965: LDAP configuration is not optimized for Rudder use caseReleasedMatthieu CERDA2015-01-08Actions
Actions #1

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.11.6 to 2.11.7
Actions #2

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.11.7 to 2.11.8
Actions #3

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.8 to 2.11.9
Actions #4

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.9 to 2.11.10
Actions #5

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.10 to 2.11.11
Actions #6

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.11 to 2.11.12
Actions #7

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.12 to 2.11.13
Actions #8

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.13 to 2.11.14
Actions #9

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.14 to 2.11.15
Actions #10

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.15 to 2.11.16
Actions #11

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.16 to 2.11.17
Actions #12

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.11.17 to 2.11.18
Actions #13

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.11.18 to 2.11.19
Actions #14

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.19 to 2.11.20
Actions #15

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.20 to 2.11.21
Actions #16

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.21 to 2.11.22
Actions #17

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.22 to 2.11.23
Actions #18

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.23 to 2.11.24
Actions #19

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 2.11.24 to 308
Actions #20

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 308 to 3.1.14
Actions #21

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.14 to 3.1.15
Actions #22

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.15 to 3.1.16
Actions #23

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.16 to 3.1.17
Actions #24

Updated by François ARMAND about 8 years ago

  • Status changed from New to Rejected

This wasn't reported anymore. Please reopen the ticket is necessary.

Actions #25

Updated by Alexis Mousset about 8 years ago

  • Status changed from Rejected to New
  • Private changed from No to Yes

Reproduced twice on SLES. The file contains the rootpw and is world readable.

Actions #26

Updated by Nicolas CHARLES about 8 years ago

restarting rudder-slapd recreates the file

Actions #27

Updated by Nicolas CHARLES about 8 years ago

+ sed -ie '/^[ \t]*\(cachesize\|idlcachesize\)/d' /opt/rudder/etc/openldap/slapd.conf
+ sed -ie 's/^\([ \t]*suffix[ \t]\+"cn=rudder-configuration".*\)/\1\ncachesize 190000/' /opt/rudder/etc/openldap/slapd.conf
+ sed -ie 's/^\([ \t]*suffix[ \t]\+"cn=rudder-configuration".*\)/\1\nidlcachesize 570000/' /opt/rudder/etc/openldap/slapd.conf

it creates the file
Actions #28

Updated by Alexis Mousset about 8 years ago

  • Status changed from New to In progress
  • Assignee changed from Benoît PECCATTE to Alexis Mousset
Actions #29

Updated by Alexis Mousset about 8 years ago

  • Subject changed from Spurious slapd.confe in folder /opt/rudder/etc/openldap/ after an upgrade 2.10->2.11 on centos to Spurious slapd.confe in folder /opt/rudder/etc/openldap/
  • Status changed from In progress to New
  • Assignee changed from Alexis Mousset to Benoît PECCATTE
Actions #30

Updated by Nicolas CHARLES about 8 years ago

  • Related to Bug #5965: LDAP configuration is not optimized for Rudder use case added
Actions #31

Updated by Alexis Mousset about 8 years ago

  • Assignee changed from Benoît PECCATTE to Alexis Mousset
Actions #32

Updated by Alexis Mousset about 8 years ago

  • Status changed from New to Pending technical review
  • Assignee changed from Alexis Mousset to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1137
Actions #33

Updated by Alexis Mousset about 8 years ago

sed -i{something} file creates a file{something} backup at each change.

We do not need -e here (if it was the reason for this).

Actions #34

Updated by Alexis Mousset about 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #35

Updated by Vincent MEMBRÉ almost 8 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.0.1, 3.1.16 and 3.2.10 which were released today.

Actions #36

Updated by Vincent MEMBRÉ over 5 years ago

  • Private changed from Yes to No
  • Priority set to 0
Actions

Also available in: Atom PDF