Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136863 - net-nds/openldap-2.3.24-r1 gives incorrect migration message
Summary: net-nds/openldap-2.3.24-r1 gives incorrect migration message
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo LDAP project
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-06-15 02:24 UTC by Fabian Groffen
Modified: 2006-06-16 03:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Groffen gentoo-dev 2006-06-15 02:24:45 UTC
When (trying to) upgrade openldap to version 2.3.24-r1, the following migration message appears:

 * As major version upgrades can corrupt your database,
 * you need to dump your database and re-create it afterwards.
 *
 *  1. /etc/init.d/slurpd stop ; /etc/init.d/slapd stop
 *  2. slapcat -l /root/ldapdump.1150363021.raw
 *  3. egrep -v '^entryCSN:' </root/ldapdump.1150363021.raw >/root/ldapdump.1150363021
 *  4. mv /var/lib/openldap-data/ /var/lib/openldap-data-backup/
 *  5. emerge --update \=net-nds/openldap-2.3.24
 *  6. etc-update, and ensure that you apply the changes
 *  7. slapadd -l /root/ldapdump.1150363021
 *  8. chown ldap:ldap /var/lib/openldap-data/*
 *  9. /etc/init.d/slapd start

Step 5, however, is incorrect, as version 2.3.24 is not the same and not in the tree any more.  I think fixing this is trivial :)

Thanks for the migration guide, it is very welcome!
Comment 1 Markus Ullmann (RETIRED) gentoo-dev 2006-06-16 03:19:29 UTC
Fixed in CVS, thanks for pointing this out :)