[Bug 810977] Re: slapd remove/reinstall fails

2011-09-16 Thread Launchpad Bug Tracker
[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/810977

Title:
  slapd remove/reinstall fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/810977/+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 810977] Re: slapd remove/reinstall fails

2011-07-18 Thread Manfred Steiner
Ok, I have found a work-arround to transfer slapd into a working state.
This is not solution of this problem, but it helps to bring slapd back
into a running state and so you can continue with openLDAP on your
machine.

At first you need an additional cleen machine, I name it MC (for machine
clean). You can install this machine for example in a virtualbox.

MC ... clean machine
ME ... machine with the slapd install error 

1) on ME: execute "apt-get remove slapd"
2) on ME: remove manually the directories "/var/lib/ldap" and "/etc/ldap"
3) on MC: execute "apt-get install slapd ldap-utils"
4) on MC: stop the slapd process with "service slapd stop"
5) on MC: transfer with rsync the directories "/var/lib/ldap" and "/etc/ldap" 
to the maschine ME
(make sure, that owner/group and access flags are not modified)
6) on ME: execute "apt-get install slapd ldap-utils"

Now the installation sricpt of package slapd runs to end without any
problems. Removement and reinstallatione of package slapd works without
problems, but there is no dialog for configuration (as it is in the very
first install).

To change configuration:
1) stop the slapd process with "service slapd stop"
2) remove actual slapd.d with "rm -r /etc/ldap/slapd.d"
3) execute "dpkg-reconfigure slapd"

Afterwards you will find a new /etc/ldap/slapd.d

So far as good, installation script for package slapd isn't bug-free
otherwise I would not have these problems.

For me it's interesting to know:
1) where is the configuration info stored (because the dialog starts up only 
one time in the very beginning)
2) why does the dpkg-ceconfiguration fail if /etc/lapd/slapd.d is existing

My recommendation to package authors. Don't do any ldap configuration in the 
installing phase.
Only check while package removement or package installation if there is a ldap 
configuratin/database available, and in this case offer the option to 
use/remove or mover the old configuration/database.
If user selects a complete removement everything after reinstallation should be 
like after a very first install.

Thanks.

-- 
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/810977

Title:
  slapd remove/reinstall fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/810977/+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 810977] Re: slapd remove/reinstall fails

2011-07-18 Thread Manfred Steiner
Dave, I try to reproduce this bug in a clean natty environment (new
installed in a virtualbox) and I wasn't able to reproduce this bug, like
you. So I go back to my normal PC, where the bug is still alive and I
try some additional things.

I see the message "Omitting slapd configuration as requested." which is
a different behavior to the first install-procedure where a dialog comes
up and asking for a LDAP-Password.

For my feeling, the problem is caused by some initial configuration on
the LDAP database. This behavior is new compared with lucid 10.04. I am
not sure if this is really a step forward, because configuration of a
LDAP database is a very complicate issue and in my point of view it
should not be done by a installing script.

I will do some further investigations.

Two questions:

1) Do you know the cause for the change of install behavior (automatic omitting 
slapd configuration...)
2) How I can increase the parameter MaxReports for AppReports in case of 
app-get install fails...

Thanks.

-- 
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/810977

Title:
  slapd remove/reinstall fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/810977/+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 810977] Re: slapd remove/reinstall fails

2011-07-15 Thread Hfaua
On my Natty this bug is reproducable. I've got the same error as
Manfred.

Distro: Ubuntu 11.04
Package: slapd 2.4.23-6ubuntu6

Error:
Creating initial configuration... mkdir: cannot create directory 
`/etc/ldap/slapd.d': File exists

-- 
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/810977

Title:
  slapd remove/reinstall fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/810977/+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 810977] Re: slapd remove/reinstall fails

2011-07-15 Thread Dave Walker
@Manfred, if you are able to provide more information to help reproduce
this, it would be most appreciated.

This needs to be reproduced on Natty to see if it is an issue specific
to that.

** Changed in: openldap (Ubuntu)
   Status: New => Incomplete

-- 
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/810977

Title:
  slapd remove/reinstall fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/810977/+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 810977] Re: slapd remove/reinstall fails

2011-07-15 Thread Dave Walker
On Oneiric I was unable to reproduce this by doing:
$ sudo apt-get install slapd ldap-utils
# enter LDAP admin password
$ sudo apt-get remove slapd ldap-utils
$ sudo apt-get install slapd ldap-utils

-- 
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/810977

Title:
  slapd remove/reinstall fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/810977/+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 810977] Re: slapd remove/reinstall fails

2011-07-15 Thread Dave Walker
** Changed in: openldap (Ubuntu)
   Importance: Undecided => High

-- 
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/810977

Title:
  slapd remove/reinstall fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/810977/+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 810977] Re: slapd remove/reinstall fails

2011-07-15 Thread Manfred Steiner
-- 
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/810977

Title:
  slapd remove/reinstall fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/810977/+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