Bug#1036240: bullseye-pu: package kscreenlocker/5.20.5-1+deb11u1
Package: release.debian.org
Severity: normal
Tags: bullseye
User: release.debian.org@packages.debian.org
Usertags: pu
X-Debbugs-Cc: deltaone@debian.org,debian-qt-kde@lists.debian.org
[ Reason ]
When trying to unlock the screen and entering a wrong password,
it can lead to an endless loop when using the PAM module.
This fix applies a patch from upstream that fixes the
behaviour.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035732
[ Impact ]
The screen cannot be unlocked and log files get flooded.
[ Tests ]
The bug reporter confirmed that the applied patch fixes the
issue.
[ Risks ]
The risks are low. The patch comes directly from upstream and
has been applied to later versions of kscreenlocker.
In addition, only a single line in the code needs to be moved.
[ Checklist ]
[x] *all* changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in (old)stable
[x] the issue is verified as fixed in unstable
[ Changes ]
[ Other info ]
diffstat for kscreenlocker-5.20.5 kscreenlocker-5.20.5
changelog | 6 ++++++
patches/auth_failure.diff | 15 +++++++++++++++
patches/series | 1 +
3 files changed, 22 insertions(+)
diff -Nru kscreenlocker-5.20.5/debian/changelog kscreenlocker-5.20.5/debian/changelog
--- kscreenlocker-5.20.5/debian/changelog 2021-01-06 15:50:51.000000000 +0100
+++ kscreenlocker-5.20.5/debian/changelog 2023-05-17 22:40:20.000000000 +0200
@@ -1,3 +1,9 @@
+kscreenlocker (5.20.5-1+deb11u1) bullseye; urgency=medium
+
+ * Fix authentication error when using PAM (Closes: #1035732).
+
+ -- Patrick Franz <deltaone@debian.org> Wed, 17 May 2023 22:40:20 +0200
+
kscreenlocker (5.20.5-1) unstable; urgency=medium
[ Pino Toscano ]
diff -Nru kscreenlocker-5.20.5/debian/patches/auth_failure.diff kscreenlocker-5.20.5/debian/patches/auth_failure.diff
--- kscreenlocker-5.20.5/debian/patches/auth_failure.diff 1970-01-01 01:00:00.000000000 +0100
+++ kscreenlocker-5.20.5/debian/patches/auth_failure.diff 2023-05-13 11:24:07.000000000 +0200
@@ -0,0 +1,15 @@
+diff --git a/greeter/authenticator.cpp b/greeter/authenticator.cpp
+index b184e04..2dabd0f 100644
+--- a/greeter/authenticator.cpp
++++ b/greeter/authenticator.cpp
+@@ -281,9 +281,9 @@ void KCheckPass::handleVerify()
+ emit failed();
+ return;
+ case ConvPutAuthError:
++ case ConvPutAuthAbort:
+ cantCheck();
+ return;
+- case ConvPutAuthAbort:
+ case ConvPutReadyForAuthentication:
+ m_ready = true;
+ if (m_mode == AuthenticationMode::Direct) {
diff -Nru kscreenlocker-5.20.5/debian/patches/series kscreenlocker-5.20.5/debian/patches/series
--- kscreenlocker-5.20.5/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ kscreenlocker-5.20.5/debian/patches/series 2023-05-13 11:21:34.000000000 +0200
@@ -0,0 +1 @@
+auth_failure.diff
Reply to: