Bug 455303 - kscreenlocker has an option to compile without PAM that doesn't work; PAM is always required
Summary: kscreenlocker has an option to compile without PAM that doesn't work; PAM is ...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Screen locking (show other bugs)
Version: 6.2.4
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-15 04:23 UTC by Chiitoo
Modified: 2024-12-27 22:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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