Bug#1076728: elogind: privileged operation with polkit fails
Andrew Bower
andrew at bower.uk
Sat Dec 14 21:12:35 GMT 2024
Hi Mark,
On Mon, Jul 22, 2024 at 09:01:58PM +0100, Mark Hindley wrote:
> Control: tags -1 moreinfo unreproducible
>
> Lorenzo,
>
> Thanks for this
>
> On Mon, Jul 22, 2024 at 08:06:56PM +0200, Lorenzo Puliti wrote:
> > Package: elogind
> > Version: 255.5-1debian2
> > Severity: important
> > X-Debbugs-Cc: plorenzo at disroot.org
> >
> > Hello Mark,
> >
> > with elogind linked to libsystemd0 privileged operations with polkit
> > no longer work, example:
>
> I am afraid I can't reproduce this. I have just tried a VM (lightdm, xfce latest dbus, polkitd
> libpam-elogind and libsystemd) and everything seems to as expected.
I have the same problem - no restart or shutdown options from xfce4 and
can't do elevated operations, e.g. manage printers.
This machine is a recent installation converted to sysvinit after
installation. Although I also normally use runit as init, I haven't on
this desktop.
I thought this had initially been working but I may be mistaken: systemd
did not last long:
2024-11-11 22:47:43 install systemd:amd64 <none> 257~rc1-4
2024-11-11 23:04:40 install sysvinit-core:amd64 <none> 3.11-1
2024-11-11 23:07:01 install elogind:amd64 <none> 255.5-1debian3
> I don't see anything in the logs you provided either (other than the
> InteractiveAuthorizationRequired failure). Have you got any custom polkit rules?
> The latest polkicykit-1 removed the pkla compatibility[1]
I don't have any custom polkit rules. I do have additional settings
supporting login via samba AD. This issue occurs regardless of whether I
use that or shadow password to log in to X session. debsums -ac did
not suggest anything interesting.
Anything I can do or provide to help diagnose?
> I will keep trying.
>
> Mark
My system details:
Package: elogind
Version: 255.5-1debian3
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.3-amd64 (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
Versions of packages elogind depends on:
ii dbus 1.15.92-1
ii debconf 1.5.87
ii init-system-helpers 1.67
ii libacl1 2.3.2-2+b1
ii libc6 2.40-4
ii libcap2 1:2.66-5+b1
ii libmount1 2.40.2-12
ii libpam0g 1.5.3-7+b1
ii libselinux1 3.7-3+b1
ii libsystemd0 257~rc1-4
ii libudev1 257-2
Versions of packages elogind recommends:
ii libpam-elogind 255.5-1debian3
ii polkitd 125-2
Other software:
ii lightdm 1.32.0-6+b1
ii xfce4 4.18
ii libpam-gnome-keyring:amd64 46.2-1
ii libpam-krb5:amd64 4.11-2+b1
ii libpam-modules:amd64 1.5.3-7+b1
ii libpam-modules-bin 1.5.3-7+b1
ii libpam-runtime 1.5.3-7
ii libpam-u2f 1.3.0-1
ii libpam-winbind:amd64 2:4.21.2+dfsg-4
ii libpam-wtmpdb:amd64 0.13.0-1
ii libpam0g:amd64 1.5.3-7+b1
More information about the Debian-init-diversity
mailing list