kscreenlocker_greet broke with a recent update of OpenSUSE (November 1). Any advice on how to fix it?
from qaz@lemmy.world to linux@lemmy.ml on 02 Nov 08:18
https://lemmy.world/post/21543717

I’ve attached a literal screen shot of all systemd errors. It seems to be caused by kscreenlocker_greet because of a missing shared object file. The boot 9 hours ago was from a read-only snapshot, and therefore doesn’t have it.

I have already tried updating with zypper dup, but that did not help.

Error as text:

PAM unable to dlopen(/usr/lib64/security/pam_pkcs11.so): /usr/lib64/security/pam_pkcs11.so: cannot open shared object file: No such file or directory

#linux

threaded - newest

Ephera@lemmy.ml on 02 Nov 11:54 next collapse

Can’t you roll back to a snapshot before the update that broke it? Then you can wait with updating for a week or two, in hopes that it gets fixed in the next Tumbleweed update…

qaz@lemmy.world on 02 Nov 15:32 collapse

That’s what I’ve been doing for the past 2 days

Ephera@lemmy.ml on 02 Nov 17:11 collapse

Oh, you don’t have to always boot anew from the read-only snapshot.

When you’re booted into the working read-only snapshot, run sudo snapper rollback and then do a normal reboot.

This will make that read-only snapshot your new (read-writable) system state. So, after doing this, your OS will be as if you never applied that update.

More info on that command: doc.opensuse.org/…/cha.snapper.html#sec.snapper.s…

qaz@lemmy.world on 02 Nov 17:25 collapse

Oh, that makes sense.

I tried it, and ran it in the latest broken snapshot and was surprised why it didn’t roll back to a previous version 😅.

eldavi@lemmy.ml on 02 Nov 13:08 next collapse

Yum has the ability to search for and install plugins like that with yum provides and yum whatprovides and I’d be surprised if Suse didn’t port it or create something similar.

JRepin@lemmy.ml on 02 Nov 16:02 next collapse

Install pam_pkcs11 package, which contains the missing library

JRepin@mstdn.io on 02 Nov 14:24 collapse

@qaz Install pam_pkcs11 package, which contains the missing library

qaz@lemmy.world on 02 Nov 20:48 collapse

Thanks! I’ll try that

EDIT: It did not help, I’ll look into it tomorrow