Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340987 - net-nds/openldap-2.4.*: remove obsolete back-ldbm
Summary: net-nds/openldap-2.4.*: remove obsolete back-ldbm
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:
Depends on:
Blocks:
 
Reported: 2010-10-14 14:50 UTC by Andrii Yurchuk
Modified: 2012-02-12 21:13 UTC (History)
0 users

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


Attachments
patch for ebuild (openldap-chown.patch,504 bytes, patch)
2010-10-14 14:51 UTC, Andrii Yurchuk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrii Yurchuk 2010-10-14 14:50:33 UTC
OpenLDAP backend back-ldbm is now obsolete (since 2.4.x branch) and is not installed (is does not even have any options in the configure script). All the 2.4.x branch ebuilds in the tree have a line:

chown ldap:ldap "${ROOT}"var/lib/openldap-{data,ldbm}

Since back-ldbm is not installed, there is no directory var/lib/openldap-ldbm. This results in an error upon emerging openldap:

chown: cannot access `/var/lib/openldap-ldbm': No such file or directory

Reproducible: Always

Steps to Reproduce:
Emerge openldap 2.4.x and look at portage's output after installation.
Actual Results:  
chown ldap:ldap "${ROOT}"var/lib/openldap-{data,ldbm}

Expected Results:  
chown ldap:ldap "${ROOT}"var/lib/openldap-data
Comment 1 Andrii Yurchuk 2010-10-14 14:51:43 UTC
Created attachment 250569 [details, diff]
patch for ebuild
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-02-12 21:13:14 UTC
Removed in 2.4.28-r1