Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 934221

Summary: net-misc/xrdp-0.9.23.1::dilfridge: use flags pam and kerberos should be mutually exclusive
Product: Gentoo Linux Reporter: Fernando B. Nascimento <bugtrack>
Component: OverlaysAssignee: Andreas K. Hüttel <dilfridge>
Status: UNCONFIRMED ---    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Fernando B. Nascimento 2024-06-13 22:27:52 UTC
This is for the overlay dilfridge.

The flags "kerberos" and "pam" should be made muttualy exclusive for this package.

The current behavior is that compiling net-misc/xrdp-0.9.23.1 with both kerberos and pam enabled, emerge passes the pretend phase and the following error occurs in the configure phase:

configure: error: --enable-pam, --enable-bsd, --enable-pamuserpass and --enable-kerberos are mutually exclusive

As a sidenote, as seen above, there are also other auth libraries that, if in the future are added as options, must be on this mutually exclusive group.

The user could be informed of the problem in the sanity check, before the actual compile.
The way it is now can interrupt a long emerge job.

Reproducible: Always

Steps to Reproduce:
1. eselect repository enable dilfridge
2. add flags "kerberos" and "pam" to "net-misc/xrdp" on package.use and/or make.conf
3. emerge -1vp net-misc/xrdp::dilfridge
4. emerge -1 net-misc/xrdp::dilfridge
Actual Results:  
With both kerberos and pam USE flags set, step 3 succeeds and step 4 fails on the configure phase with error:

configure: error: --enable-pam, --enable-bsd, --enable-pamuserpass and --enable-kerberos are mutually exclusive

Expected Results:  
With both kerberos and pam USE flags set, both step 3 and step 4 should fail on the pretend phase. (I am not sure about failing in step 3, but almost sure it should).

As a very easy workadound, the user can exclude one of the flags.