[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#844785: systemd prevents polkit from working properly



Control: retitle -1 systemd-shim not fully compatible with systemd 232
Control: affects -1 policykit-1 policykit-1-gnome mate-polkit

Le 20/11/2016 à 04:21, Adam Bolte a écrit :
> It took about an hour to find this bug report, since I was looking for
> changes related to consolekit, polkit, pam, etc. I've been using using
> sysvinit-core to avoid systemd issues (systemd doesn't even boot for me
> for some reason I don't care to investigate), so it didn't immediately
> occur to me to look at possible systemd libraries changes. I wouldn't be
> surprised if a lot of people hitting this don't know to look here.

Right. I retitled the bug to more precisely describe the problem, and
added affected packages (at least the ones I tried, I guess lxsession
(which provides lxpolkit) is affected too, but I didn't actually try it,
so I'll let that to someone who actually did, and can confirm that LXDE
loses functionality as well).

I'm worried though, because systemd-shim is orphaned now.

> As a work-around, look through the log to get the systemd-related
> packages which were upgraded:
> 
> $ grep 232-3 /var/log/dpkg.log | grep ' status installed ' | \
>       cut -d ' ' -f 5 | sort | uniq
> libpam-systemd:amd64
> libsystemd0:amd64
> libsystemd0:i386
> libudev1:amd64
> libudev1:i386
> libudev-dev:amd64
> systemd:amd64
> udev:amd64
> 
> Then head over to http://snapshot.debian.org/package/systemd/231-9/ and
> download the debs for each of the above. Check the hashes, and install:
> 
> # dpkg -i *.deb
> 
> Reboot, and now you can shutdown via lightdm, mount drives, etc as normal.

Yeah, that's basically what I did, except with systemd 231-10. I then
pinned systemd with a preferences file, and now apt is holding
libpam-systemd and libsystemd0 too, but accepted to upgrade udev and
libudev1 (I initially thought that there would be a versioned dependency
between the two sets, but that's not the case). So in fact, only those
three packages (four in case of multi-arch) have to be downgraded to
restore the system to a functional state.

Regards,

-- 
Raphaël Halimi

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: