[Bug 971056] Re: Upgrade overwrites LDAP config with defaults
[Expired for openldap (Ubuntu) because there has been no activity for 60 days.] ** Changed in: openldap (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/971056 Title: Upgrade overwrites LDAP config with defaults To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/971056/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 971056] Re: Upgrade overwrites LDAP config with defaults
I've migrated an other server to 12.04 LTS beta. Seems fixed since today: Apr. 25th, 2012. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/971056 Title: Upgrade overwrites LDAP config with defaults To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/971056/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 971056] Re: Upgrade overwrites LDAP config with defaults
The file /etc/ldap.conf was backed up to /var/backups/, while /etc/ldap/ldap.conf was not. Both files are overwritten by upgrading via do-release-upgrade -d while a normal upgrade doesn't overwrite them. The file /etc/ldap.conf was replaced by default values, but some values were patched with actual system given ones. These where added at the end of the file. This is one line added: nss_initgroups_ignoreusers backup,bacula,bin,daemon,games,gnats,irc,libuuid,list,lp,mail,man,messagebus,news,openldap,proxy,root,sshd,statd,sync,sys,syslog,uucp ,www-data The file /etc/ldap/ldap.conf was replaced by default values. All changes had to be made again manually. The file: [pre] # # LDAP Defaults # # See ldap.conf(5) for details # This file should be world readable but not world writable. BASEdc=x,dc=de URI ldap://ks1.x.de ldap://ks2.x.de SASL_MECH GSSAPI SIZELIMIT 0 TIMELIMIT 0 DEREF never [/pre] was replaced by [pre] # # LDAP Defaults # # See ldap.conf(5) for details # This file should be world readable but not world writable. #BASE dc=example,dc=com #URIldap://ldap.example.com ldap://ldap-master.example.com:666 #SIZELIMIT 12 #TIMELIMIT 15 #DEREF never # TLS certificates (needed for GnuTLS) TLS_CACERT /etc/ssl/certs/ca-certificates.crt [/pre] -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/971056 Title: Upgrade overwrites LDAP config with defaults To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/971056/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 971056] Re: Upgrade overwrites LDAP config with defaults
It does not, as far as I could test, matter if you select debconf to be responsible for these files or not. They are replaced regardless. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/971056 Title: Upgrade overwrites LDAP config with defaults To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/971056/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 971056] Re: Upgrade overwrites LDAP config with defaults
Thomas The upgrade should backup your configuration to /var/backups/ before it makes any changes. Would you be able to provide more details of you configuration, or even config files with sensitive information removed, so that we can try and re-produce this issue. Thanks ** Changed in: openldap (Ubuntu) Status: New = Incomplete ** Changed in: openldap (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/971056 Title: Upgrade overwrites LDAP config with defaults To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/971056/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 971056] Re: Upgrade overwrites LDAP config with defaults
This kills any setup ldap-server -- only way to recover: replay your backup -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/971056 Title: Upgrade overwrites LDAP config with defaults To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/971056/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs