Bug 455303

Summary: kscreenlocker has an option to compile without PAM that doesn't work; PAM is always required
Product: [Plasma] plasmashell Reporter: Chiitoo <chiitoo>
Component: Screen lockingAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: asturm, bshah, nate
Priority: NOR    
Version First Reported In: 6.2.4   
Target Milestone: 1.0   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Chiitoo 2022-06-15 04:23:41 UTC
SUMMARY
Compiling without 'PAM' is no longer possible, probably after 132adacf3d0 [1], even though the 'PAM_REQUIRED' option still exists.

1. https://invent.kde.org/plasma/kscreenlocker/-/commit/132adacf3d01fc4adf8a873e0debc3adb17972ec

STEPS TO REPRODUCE
1. Compile with '-DPAM_REQUIRED=NO' and no PAM installed.

OBSERVED RESULT
Compiling fails.

EXPECTED RESULT
Either compiling should still succeed without PAM, or the option is removed, and PAM is always required.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo Linux/git master
(available in About System)
KDE Plasma Version: git master (partial only to use KWin with LXQt)
KDE Frameworks Version: git master (partial only to use KWin with LXQt)
Qt Version: 5.15.4 (with KDE patches)
Comment 1 Bug Janitor Service 2024-12-19 20:09:13 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kscreenlocker/-/merge_requests/249
Comment 2 Andreas Sturmlechner 2024-12-19 20:10:44 UTC
See also:
https://invent.kde.org/plasma/kscreenlocker/-/merge_requests/59#note_468401