Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84 - Temp install directory ${D}, is included in openldap man pages
Summary: Temp install directory ${D}, is included in openldap man pages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Damon Conway (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-08 13:12 UTC by Tod M. Neidt
Modified: 2003-02-04 19:42 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 Tod M. Neidt 2002-01-08 13:12:57 UTC
Hi!

This is a minor annoyance.  The man pages for openldap contain references to the
locations (paths to) of various configuration files.  However, the referenced
paths have the portage installation directory, ${D}, prepended.  See "man slapd" 
An example from "man slapd" is here:

NAME
slapd - Stand-alone LDAP Daemon  
SYNOPSIS
/var/tmp/portage/openldap-2.0.18/image//usr/lib/openldap/slapd [-f
slapd-config-file] [-h URLs] [-d debug-level] [-n service-name] [-s
syslog-level] [-l syslog-local-user] [-r directory] [-u user] [-g group]  
DESCRIPTION

Slapd is the stand-alone LDAP daemon. It listens for LDAP connections on any
number of ports (default 389), responding to the LDAP operations it receives
over these connections. slapd is typically invoked at boot time, usually out of
/etc/rc.local. Upon startup, slapd normally forks and disassociates itself from
the invoking tty. If configured in
/var/tmp/portage/openldap-2.0.18/image//etc/openldap/slapd.conf, the slapd
process will print its process ID ( see getpid(2) ) to a .pid file, as well as
the command line options during invocation to an .args file ( see slapd.conf(5)
). If the -d flag is given, even with a zero argument, slapd will not fork and
disassociate from the invoking tty.



This applies to the openldap-2.0.18.ebuild  I have not checked other versions.

I imagine that the openldap build is automagically inserting the paths to where
it thinks openldap is being installed into the man pages when it makes the
documentation.  Unfortunately, I haven't looked closely into this yet so I can't
offer a fix :(

tod
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-01-16 15:52:50 UTC
Commited openldap-2.0.21.ebuild which should fix this problem.