[Pkg-xfce-devel] Bug#754850: upower 0.99 drops support for non-systemd
andreas at fatal.se
Fri Sep 5 08:02:58 UTC 2014
Hello Adam Borowski!
Thanks for the (initially) useful feedback.
On Fri, Sep 05, 2014 at 06:50:38AM +0200, Adam Borowski wrote:
> > 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
> That's not something an user should need to do. And even if you added this
> configuration by default, only people in the sudo group would be able to
> suspend -- rather than whoever is logged on.
I agree, and so does everyone else it seems. That's why there's already
a bug open on systemd-shim about this.
(Unfortunately it seems to show the same "abandonware" signs as I've gotten
the feeling systemd-shim is in the past. I'm sure your help is welcome
if you really want to continue using it.)
> > Ofcourse, if you want to avoid fiddling around with undermaintained software
> > you could always install/keep systemd-sysv instead. ;)
> I did not break this, the utopia team did. Just keeping the packages at
> their working version would work -- so it's not a matter of
> "undermaintained", it's "maintained in a bad way". Inaction would be enough
> (or at the moment, reverting to wheezy's or mid-jessie-cycle state).
This is so full of bullshit. You would have a much easier time finding
the solution to your problems if you didn't make up your mind before
to even looking at the issue.
> And on 3 out of 5 machines in the room I'm currently I can't even install
> systemd-sysv even if I somehow wanted to.
Have you reported bugs? My interactions with you on this issue makes
me wonder, maybe you're just doing it wrong?
> But back to the problem at hand:
> could you list your test environment, so I could see any setup where upower
> _does_ work?
I haven't been able to find any environment where it does not work.
For example, xfce4 works with systemd. The problem is in systemd-shim,
which as previously shown also works but isn't usable out of the box since it
needs manual configuration to set up useful policies.
I really hope you can move onto actually fixing up the broken software
you insist on using instead of blaming others and things which are not
related. The support for non-default init systems relies on someone
actually contributing to keep them alive. Package maintainers are not
responsible for doing that work. Let me relay exactly how tech-ctte
members at debconf described it, "Patches welcome".
Please realise that the bug tracking system is not a support forum.
Noone here has any obligations to help you solve your issues.
If you feel that systemd-shim is so broken it's unusable/unfixable, you should
be able to very easily write a glue layer between DBus org.freedesktop.login1
IPC and pm-utils (if that's your preferred implementation) to handle
the suspend/hibernate part (if that's all you care about).
For furter support on this issue, please first get a support contract.
More information about the Pkg-xfce-devel