[Bug 691462] [NEW] nssldap-update-ignoreusers overwrite symlinks

Jan J 691462 at bugs.launchpad.net
Fri Dec 17 09:19:08 GMT 2010


Public bug reported:

Binary package hint: libnss-ldap

We have made adaptions to /etc/ldap.conf by adding a divert and
distributing our own file. When nssldap-update-ignoreusers is run the
divert symlink is replaced. This makes future updates to our ldap.conf
settings impossible as dpkg will update the diverted file which will not
be the /etc/ldap.conf.

Before:
lrwxrwxrwx 1 root root   22 2010-12-17 10:15 ldap.conf -> ldap.conf.su-linux-sua
-rw-r--r-- 1 root root  239 2010-11-29 09:44 ldap.conf.su-linux-sua
-rw-r--r-- 1 root root 8878 2010-12-09 11:36 ldap.conf.su-linux-sua-orig

After:
-rw-r--r-- 1 root root  402 2010-12-17 10:16 ldap.conf
-rw-r--r-- 1 root root  402 2010-12-17 10:16 ldap.conf.su-linux-sua
-rw-r--r-- 1 root root 8878 2010-12-09 11:36 ldap.conf.su-linux-sua-orig

The problematic part is "sed -i".

** Affects: libnss-ldap (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in ubuntu.
https://bugs.launchpad.net/bugs/691462

Title:
  nssldap-update-ignoreusers overwrite symlinks



More information about the Ubuntu-server-bugs mailing list