Re: All roads to suspend/hibernate lead through systemd?

2014-10-20 Thread James Ensor
On Oct 18, 2014 2:00 PM, Nate Bargmann n...@n0nb.us wrote:

 No, this is not a troll (seems like that is necessary to state up
 front).  I have been experimenting with dropping systemd from my laptop
 running Sid but find that even with xfce4-power-manager suspend nor
 hibernate are available any more unless I install the policykit-1
 package recommended by the upower package which depends on
 libpam-systemd which, even if I install systemd-shim, also installs the
 systemd package as a dependency, even though it won't run as PID 1.

 Has anyone worked out a way to enable suspend in xfce4-power-manager
 without ultimately installing systemd?


I faced the same thing when I removed systemd.  So I instead got acpi
working to do a suspend when I close the lid (just like I used to in the
good old days)


insane hibernation policy (war: Re: All roads to suspend/hibernate lead through systemd?)

2014-10-19 Thread Martin Steigerwald
Hi Joe,

Am Samstag, 18. Oktober 2014, 21:17:48 schrieb Joe:
 On Sat, 18 Oct 2014 12:44:23 -0500
 
 Nate Bargmann n...@n0nb.us wrote:
  No, this is not a troll (seems like that is necessary to state up
  front).  I have been experimenting with dropping systemd from my
  laptop running Sid but find that even with xfce4-power-manager
  suspend nor hibernate are available any more unless I install the
  policykit-1 package recommended by the upower package which depends on
  libpam-systemd which, even if I install systemd-shim, also installs
  the systemd package as a dependency, even though it won't run as PID
  1.
  
  Has anyone worked out a way to enable suspend in xfce4-power-manager
  without ultimately installing systemd?
 
 No, but this sheds a little light elsewhere. About a year ago I was on
 LXDE, and suddenly the GUI shutdown and reboot stopped working. I spent
 a month or so typing in a password in order to shut down my single-user
 workstation, then got fed up with it. There seemed to be no suggestion
 as to when it might be fixed, nor any hint that I needed to install
 anything else, so I switched to Xfce.
 
 I've never got suspend, hibernate etc. to stay working properly on sid
 for any length of time, and the only non-sid Linux installation I have
 is a server, so I don't use them.

Look here:

Bug #727645 [polkit-kde-1] polkit-kde-1: requires root password for hibernate, 
wrongly reports other users are logged
https://bugs.debian.org/727645 

Bug #717731 [upower] upower: authentification is required for hibernating while 
other users are logged in
https://bugs.debian.org/717731

and more recently here:

Bug#747939: systemd: prevents hibernation without password with open screen 
session in other login session
https://bugs.debian.org/747939

I am not even sure that has been all reports of mine.

I had it with a second KDE session, I have it with a screen session inside a 
KDE session, in any account it was so dire insane it isn´t even funny anymore.


I still have the following polkit in there, cause with two KDE sessions open I 
think I still have the issue:

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

I think any asking for a password on a *single seat* machine for hibernation 
is a bug, is a bug, is a bug. I am the only one with a keyboard on it, and I 
am the only one allowed to SSH into it, so I am the only one permitted to 
hibernate the system. And if I do this from a unlocked desktop session, I am 
authenticated already, so please just leave me *alone*.

I dislike software that tries to be more intelligent as me. I dislike policies 
like this limiting my freedom. And I invite you to comment or add to the bug 
reports I mentioned, or if they are closed already, and you still have an 
issue, open a new one and tell me.

So far it feels to me that I have been the only one yelling to the developers 
regarding that dire policy insanity. Its as insane as requiring a root login 
for Linus daughter in order to set up a printer in some OpenSUSE version.

I may one day try again without the above file to make policykit policy sane. 
It might even be important, cause if Jessie gets released with that insanity, 
I can only imagine the uproar here on this list, in bug tracker, and 
elsewhere.

Well, maybe it has been fixed meanwhile, I didn´t try removing the file for a 
while. Cause honestly I couldn´t be bothered with this kind of dire insanity 
anymore.

But on any account, people, please report bugs. Please make your voice 
regarding systemd and/or policykit troubles be heard. As long as I am one of 
the few reporting things there… chances are I might get ignored again.

Of course it also depends on the tone. Express your anger and your frustration 
in a I am way? Sure. But avoid accusing or insulting people.

So please don´t just use above work-around – or policy *correction* – also 
voice your concern, and if it is a simple I have this issue two with this and 
that… mail to one of the existing bug reports.

Thanks,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1590834.76OczWI13J@merkaba



Re: All roads to suspend/hibernate lead through systemd?

2014-10-19 Thread Joe
On Sat, 18 Oct 2014 19:53:38 -0700 (PDT)
Rusi Mody rustompm...@gmail.com wrote:

 On Saturday, October 18, 2014 11:40:01 PM UTC+5:30, Nate Bargmann
 wrote:
  No, this is not a troll (seems like that is necessary to state up
  front).  I have been experimenting with dropping systemd from my
  laptop running Sid but find that even with xfce4-power-manager
  suspend nor hibernate are available any more unless I install the
  policykit-1 package recommended by the upower package which depends
  on libpam-systemd which, even if I install systemd-shim, also
  installs the systemd package as a dependency, even though it won't
  run as PID 1.
 
 Just a heads up.
 xfce on jessie with systemd
 
 A couple of weeks ago in trying to get round some dependency issues
 I needed to install policykit that did:
 
 libpolkit-agent-1-0 (0.105-6.1)
 libpolkit-backend-1-0 (0.105-6.1)
 policykit-1 (0.105-6.1)
 
 After that direct poweroff from the xfce panel has stopped working
 ie whether I choose logout or shutdown, it only logs out, ie closes
 startx and puts me back in console shell.
 
 [Oh and BTW about 6 months or so back gdm stopped working and Ive
 switched to startx
 ]
 
 

Datum: up-to-date sid, systemd, xfce, same policykit stuff plus a bit
more at 0.105-7, GUI shutdown still OK. I gave up on gdm when it went
to gdm3, I'm using kdm.

-- 
Joe


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141019111828.4f3bf...@jresid.jretrading.com



All roads to suspend/hibernate lead through systemd?

2014-10-18 Thread Nate Bargmann
No, this is not a troll (seems like that is necessary to state up
front).  I have been experimenting with dropping systemd from my laptop
running Sid but find that even with xfce4-power-manager suspend nor
hibernate are available any more unless I install the policykit-1
package recommended by the upower package which depends on
libpam-systemd which, even if I install systemd-shim, also installs the
systemd package as a dependency, even though it won't run as PID 1.

Has anyone worked out a way to enable suspend in xfce4-power-manager
without ultimately installing systemd?

- Nate

-- 

The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true.

Ham radio, Linux, bikes, and more: http://www.n0nb.us


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141018174423.gl3...@n0nb.us



Re: All roads to suspend/hibernate lead through systemd?

2014-10-18 Thread Joe
On Sat, 18 Oct 2014 12:44:23 -0500
Nate Bargmann n...@n0nb.us wrote:

 No, this is not a troll (seems like that is necessary to state up
 front).  I have been experimenting with dropping systemd from my
 laptop running Sid but find that even with xfce4-power-manager
 suspend nor hibernate are available any more unless I install the
 policykit-1 package recommended by the upower package which depends on
 libpam-systemd which, even if I install systemd-shim, also installs
 the systemd package as a dependency, even though it won't run as PID
 1.
 
 Has anyone worked out a way to enable suspend in xfce4-power-manager
 without ultimately installing systemd?
 


No, but this sheds a little light elsewhere. About a year ago I was on
LXDE, and suddenly the GUI shutdown and reboot stopped working. I spent
a month or so typing in a password in order to shut down my single-user
workstation, then got fed up with it. There seemed to be no suggestion
as to when it might be fixed, nor any hint that I needed to install
anything else, so I switched to Xfce.

I've never got suspend, hibernate etc. to stay working properly on sid
for any length of time, and the only non-sid Linux installation I have
is a server, so I don't use them.

-- 
Joe


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141018211748.1a0bf...@jresid.jretrading.com



Re: All roads to suspend/hibernate lead through systemd?

2014-10-18 Thread Andre N Batista
On Sat, Oct 18, 2014 at 09:17:48PM +0100, Joe wrote:
 On Sat, 18 Oct 2014 12:44:23 -0500
 Nate Bargmann n...@n0nb.us wrote:
 
  No, this is not a troll (seems like that is necessary to state up
  front).  I have been experimenting with dropping systemd from my
  laptop running Sid but find that even with xfce4-power-manager
  suspend nor hibernate are available any more unless I install the
  policykit-1 package recommended by the upower package which depends on
  libpam-systemd which, even if I install systemd-shim, also installs
  the systemd package as a dependency, even though it won't run as PID
  1.
  
  Has anyone worked out a way to enable suspend in xfce4-power-manager
  without ultimately installing systemd?
  
 
 
 No, but this sheds a little light elsewhere. About a year ago I was on
 LXDE, and suddenly the GUI shutdown and reboot stopped working. I spent
 a month or so typing in a password in order to shut down my single-user
 workstation, then got fed up with it. There seemed to be no suggestion
 as to when it might be fixed, nor any hint that I needed to install
 anything else, so I switched to Xfce.
 
 I've never got suspend, hibernate etc. to stay working properly on sid
 for any length of time, and the only non-sid Linux installation I have
 is a server, so I don't use them.


No, but the last time I've tried to say that and quote Slav, who claimed
similar problem, my message did not reach the list.


signature.asc
Description: Digital signature


Re: All roads to suspend/hibernate lead through systemd?

2014-10-18 Thread Rusi Mody
On Saturday, October 18, 2014 11:40:01 PM UTC+5:30, Nate Bargmann wrote:
 No, this is not a troll (seems like that is necessary to state up
 front).  I have been experimenting with dropping systemd from my laptop
 running Sid but find that even with xfce4-power-manager suspend nor
 hibernate are available any more unless I install the policykit-1
 package recommended by the upower package which depends on
 libpam-systemd which, even if I install systemd-shim, also installs the
 systemd package as a dependency, even though it won't run as PID 1.

Just a heads up.
xfce on jessie with systemd

A couple of weeks ago in trying to get round some dependency issues
I needed to install policykit that did:

libpolkit-agent-1-0 (0.105-6.1)
libpolkit-backend-1-0 (0.105-6.1)
policykit-1 (0.105-6.1)

After that direct poweroff from the xfce panel has stopped working
ie whether I choose logout or shutdown, it only logs out, ie closes startx and 
puts me back in console shell.

[Oh and BTW about 6 months or so back gdm stopped working and Ive switched 
to startx
]


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/698e102e-2d11-43a0-80ce-d7b7fc390...@googlegroups.com



Re: All roads to suspend/hibernate lead through systemd?

2014-10-18 Thread Steve Litt
On Sat, 18 Oct 2014 19:53:38 -0700 (PDT)
Rusi Mody rustompm...@gmail.com wrote:

 On Saturday, October 18, 2014 11:40:01 PM UTC+5:30, Nate Bargmann
 wrote:
  No, this is not a troll (seems like that is necessary to state up
  front).  I have been experimenting with dropping systemd from my
  laptop running Sid but find that even with xfce4-power-manager
  suspend nor hibernate are available any more unless I install the
  policykit-1 package recommended by the upower package which depends
  on libpam-systemd which, even if I install systemd-shim, also
  installs the systemd package as a dependency, even though it won't
  run as PID 1.
 
 Just a heads up.
 xfce on jessie with systemd
 
 A couple of weeks ago in trying to get round some dependency issues
 I needed to install policykit that did:
 
 libpolkit-agent-1-0 (0.105-6.1)
 libpolkit-backend-1-0 (0.105-6.1)
 policykit-1 (0.105-6.1)
 
 After that direct poweroff from the xfce panel has stopped working
 ie whether I choose logout or shutdown, it only logs out, ie closes
 startx and puts me back in console shell.
 
 [Oh and BTW about 6 months or so back gdm stopped working and Ive
 switched to startx
 ]

There's a certain irony. First, IMHO startx is better than booting
directly to GUI. Secondly, now that stopping X gets you to the command
prompt, you can type whatever shutdown/reboot/poweroff command you
want. Unless those were messed up too.

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141019002453.34efc...@mydesq2.domain.cxm