Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934221 - net-misc/xrdp-0.9.23.1::dilfridge: use flags pam and kerberos should be mutually exclusive
Summary: net-misc/xrdp-0.9.23.1::dilfridge: use flags pam and kerberos should be mutua...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-13 22:27 UTC by Fernando B. Nascimento
Modified: 2024-06-13 23:39 UTC (History)
0 users

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 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.