Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473368 - sys-freebsd/freebsd-pam-modules-9.1: file collisions with sys-auth/pam_krb5-4.6:0 when building with USE="kerberos"
Summary: sys-freebsd/freebsd-pam-modules-9.1: file collisions with sys-auth/pam_krb5-4...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: AMD64 FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-15 14:18 UTC by henning.f
Modified: 2013-06-27 20:53 UTC (History)
0 users

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


Attachments
build log (freebsd-pam-modules-build.log,51.46 KB, text/plain)
2013-06-15 14:18 UTC, henning.f
Details
emerge info (emerge-info-freebsd-pam-modules.log,4.43 KB, text/plain)
2013-06-15 14:19 UTC, henning.f
Details
a possible solution (freebsd-pam-modules-9.1.ebuild.patch,377 bytes, patch)
2013-06-15 14:21 UTC, henning.f
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description henning.f 2013-06-15 14:18:05 UTC
The kerberos pam module seems to be located inside the freebsd-pam-modules ebuild. The normal pam_krb5 ebuild is working perfectly on freebsd (if you manage to install heimdal). I don't know what the policy is here but either you remove the pam_krb5 from freebsd-pam-modules or prevent pam_krb5 from being installed.

Reproducible: Always

Steps to Reproduce:
1. emerge pam_krb5
2. USE="kerberos" emerge freebsd-pam-modules
Actual Results:  
 * Detected file collision(s):
 * 
 * 	/lib/security/pam_krb5.so
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * sys-auth/pam_krb5-4.6:0::gentoo
 * 	/lib/security/pam_krb5.so

Expected Results:  
No build errors
Comment 1 henning.f 2013-06-15 14:18:53 UTC
Created attachment 351004 [details]
build log
Comment 2 henning.f 2013-06-15 14:19:34 UTC
Created attachment 351006 [details]
emerge info
Comment 3 henning.f 2013-06-15 14:21:28 UTC
Created attachment 351008 [details, diff]
a possible solution

This patch solves the problem by removing pam_krb5 from freebsd-pam-modules-9.1
Comment 4 Alexis Ballier gentoo-dev 2013-06-15 14:38:16 UTC
(In reply to henning.f from comment #3)
> Created attachment 351008 [details, diff] [details, diff]
> a possible solution
> 
> This patch solves the problem by removing pam_krb5 from
> freebsd-pam-modules-9.1

good idea but we need to have pam_krb5 keyworded first (and hence heimdal fixed)
Comment 5 henning.f 2013-06-16 10:05:24 UTC
(In reply to Alexis Ballier from comment #4)
> good idea but we need to have pam_krb5 keyworded first (and hence heimdal
> fixed)

I am sorry, I reported the issues in the incorrect order.
Comment 6 Alexis Ballier gentoo-dev 2013-06-27 20:53:56 UTC
applied your patch and keyworded pam_krb5, thanks!