[Bug 538848] [NEW] slapd.postinst doesn't mention configuration conversion step

Nathan Stratton Treadway ubuntu.lp at nathanst.com
Sun Mar 14 22:21:08 GMT 2010


Public bug reported:

When I upgrade the slapd package from Hardy to Lucid, the slapd.postinst
script automatically attempts to convert from the slapd.conf file to the
slapd.d configuration directory.  If that conversion attempt fails, a
notification message is printed ("Migrating slapd.conf file
(/etc/ldap/slapd.conf) to slapd.d failed with the following error while
running slaptest:....").

And the postinst script prints other notices about its activities: "
Backing up /etc/ldap/slapd.conf....", " Moving old database
directories....", "Loading from /var/backups/....", etc.

However, if the configuation-conversion succeeds, the script currently
does not print any message at all to notifiy the user that the
conversion has taken place.

Attached is a one-line patch to generate such a message.  (The patch is
pretty simple, but I don't currently have an environment in which I can
actually test it.)

** Affects: openldap (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: hardy2lucid

-- 
slapd.postinst doesn't mention configuration conversion step
https://bugs.launchpad.net/bugs/538848
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.



More information about the Ubuntu-server-bugs mailing list