Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134081 - Portage and LDAP support
Summary: Portage and LDAP support
Status: RESOLVED DUPLICATE of bug 53269
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2006-05-22 21:25 UTC by Pedro Algarvio
Modified: 2006-05-23 02:30 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Pedro Algarvio 2006-05-22 21:25:11 UTC
I store my users in an ldap database, and I'm
using pam_ldap and nss_ldap, when an ebuild tries to create a user that already
exists in ldap, the ebuild fails.

>>> emerge (1 of 1) net-www/apache-2.0.55-r1 to /
>>> extracting info
 * LFS support has been removed due to incompatibilites with other packages.
 * You _will_ have to re-emerge any Apache modules you have installed, or
 * they will likely misbehave/segfault.
 * Multiple MPM support has been disabled due to problems with external
 * modules.  If you have relied on this functionality you will need
 * to find another solution.  The Gentoo Apache team apologizes for
 * any inconvienence this may cause you.
>>> extracting apache-2.0.55-r1
>>> Merging net-www/apache-2.0.55-r1 to /
 * Adding group 'apache' to your system ...
 *  - Groupid: 81
groupadd: name apache is not unique
!!! FAILED preinst: 1

enew(user|group) should first check if user exists besides the /etc/group and
/etc/passwd if this is the place where it checks.

As an example in my system:
# cat /etc/passwd | grep apache
(ouputs nothing)
# cat /etc/group | grep apache
(ouputs nothing)
# getent passwd | grep apache
apache:x:81:81:added by portage for apache:/var/www:/usr/sbin/nologin
# getent group | grep apache
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2006-05-22 21:46:15 UTC

*** This bug has been marked as a duplicate of 53269 ***