[Pkg-xfce-devel] Bug#754850: upower 0.99 drops support for non-systemd

Andreas Henriksson andreas at fatal.se
Fri Aug 15 20:30:28 UTC 2014


Hello Adam Borowski!

On Fri, Aug 15, 2014 at 02:22:38AM +0200, Adam Borowski wrote:
> On Fri, Aug 15, 2014 at 12:33:35AM +0200, Andreas Henriksson wrote:
> > I fail to see any argument on why this is not already resolved.
> 
> Suspend and hibernate don't work if upower is upgraded, duh.
[...]

Could you please give a bit more details? "doesn't work" isn't very
useful.

A bug report should normally always include atleast:
What did you do? What happened? What did you expect should happen?

Also since this is a problem only affecting you:
What did you do to your system to trigger the problem? How can
it be reproduced?

There really is no way to help you unless you're willing to be helped.


Fwiw, for your pleasure I just reverified this with a fresh install.
Here are instructions on how to create a system with working suspend
with xfce and sysvinit-core:

Download http://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-cd/debian-testing-amd64-xfce-CD-1.iso

Install using the downloaded image (Select "Debian desktop environment")

Install systemd-shim and related packages (libsystemd-login0,
libsystemd-journal0, libsystemd-daemon0, libpam-systemd, systemd, systemd-sysv)
from Unstable -- as systemd-shim in testing is not in a good shape.

Run "apt-get install -f" to pull in cgmanager, etc.

Install sysvinit-core (and let it replace systemd-sysv).

Reboot.

Notice you have lost access to trigger suspend.

Work around your lack of a proper system configuration by manually
configuring policykit. eg. allow users in sudo group to trigger suspend:

sudo cat <<EOF>/etc/polkit-1/localauthority/50-local.d/suspend-hibernate.pkla
/etc/polkit-1> cat ./localauthority/50-local.d/org.freedesktop.upower.pkla
[Suspend/hibernate permissions]
Identity=unix-group:sudo
Action=org.freedesktop.login1.hibernate;org.freedesktop.login1.suspend
ResultAny=yes
ResultInactive=yes
ResultActive=yes
EOF

Suspend!

Ofcourse, if you want to avoid fiddling around with undermaintained software
you could always install/keep systemd-sysv instead. ;)

Regards,
Andreas Henriksson



More information about the Pkg-xfce-devel mailing list