#1142522 plasma-workspace doesn't play nice with pam mount

Package:
plasma-workspace
Source:
plasma-workspace
Description:
Plasma Workspace for KF5
Submitter:
Ivan Sergio Borgonovo
Date:
2026-07-21 08:41:02 UTC
Severity:
normal
#1142522#5
Date:
2026-07-21 08:29:41 UTC
From:
To:
upgrading from previous version (4:6.7.2-2) gives

Setting up plasma-workspace (4:6.7.2-4)…
(pam_mount.c:166): conv->conv(...): Conversation error
(pam_mount.c:471): warning: could not obtain password interactively either
(pam_mount.c:166): conv->conv(...): Conversation error
(pam_mount.c:471): warning: could not obtain password interactively either
(pam_mount.c:532): *** PAM_MOUNT WAS INVOKED WITH INSUFFICIENT
PRIVILEGES. (euid=1000)
(pam_mount.c:534): *** THIS IS A BUG OF THE CALLER. CONSULT YOUR DISTRO.
(pam_mount.c:535): *** Also see bugs.txt in the pam_mount source
tarball/website documentation.
(spawn.c:124): error setting uid to 0: Operation not permitted
(pam_mount.c:166): conv->conv(...): Conversation error

it is a bit annoying to recover because it keeps on looping on the error
it doesn't let you stop the process unless you close the terminal and
you really have to disable pam mount to

dpkg --configure -a

and continue the installation/setup process.

vi /etc/pam.d/common-session

and disable pam mount from another terminal

same problem upgrading from 4:6.7.2-3 -> 4:6.7.2-4