Bug#727645: polkit-kde-1: requires root password for hibernate, wrongly reports other users are logged on

2013-10-25 Thread Sami Erjomaa
Hi,

I have this same problem and I encountered it after I started using
systemd. For me the dialog shows
org.freedesktop.login1.hibernate-multiple-sessions as the reason.

My understanding is that it is dirmngr that causes this.

loginctl shows:
   SESSIONUID USER SEAT
c1112 dirmngr
c2   1000 durinseat0

if I kill dirmngr the dialog requesting root password doesn't pop up.



On 24 October 2013 23:53, Johannes Rohr jor...@gmail.com wrote:

 Package: polkit-kde-1
 Version: 0.99.1-1
 Severity: normal

 I am trying to hibernate the system from the kickoff menu.

 Instead of going into hibernation, a dialogue pops up saying

 Authentication is required for hibernating the system while other users
 are logged in

 and asking for the root password

 However, there are no other users logged in, as the w command shows:

  22:52:57 up 11:56,  3 users,  load average: 3,52, 4,55, 3,75
 USER TTY  FROM LOGIN@   IDLE   JCPU   PCPU WHAT
 jr   :022:44   ?xdm?  42:53   0.09s /bin/sh
 /usr/bin/startkde
 jr   pts/2:0   22:447:59   0.00s  1.85s kdeinit4:
 kded4 [kdeinit]
 jr   pts/3:0   22:481.00s  1.45s  0.00s w

 So apparently, this is a bug...




 -- System Information:
 Debian Release: jessie/sid
   APT prefers testing
   APT policy: (990, 'testing'), (500, 'unstable'), (450, 'experimental')
 Architecture: amd64 (x86_64)
 Foreign Architectures: i386

 Kernel: Linux 3.11-1-amd64 (SMP w/2 CPU cores)
 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/dash

 Versions of packages polkit-kde-1 depends on:
 ii  kde-runtime   4:4.10.5-1
 ii  libc6 2.17-93
 ii  libkdecore5   4:4.10.5-1+b1
 ii  libkdeui5 4:4.10.5-1+b1
 ii  libpolkit-qt-1-1  0.103.0-1
 ii  libqt4-dbus   4:4.8.5+git121-g2a9ea11+dfsg1-2
 ii  libqtcore44:4.8.5+git121-g2a9ea11+dfsg1-2
 ii  libqtgui4 4:4.8.5+git121-g2a9ea11+dfsg1-2
 ii  libstdc++64.8.1-10
 ii  policykit-1   0.105-4

 polkit-kde-1 recommends no packages.

 polkit-kde-1 suggests no packages.

 -- no debconf information


 --
 To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 http://lists.debian.org/20131024205359.30377.36099.reportbug@Erwin.babel




Bug#727645: polkit-kde-1: requires root password for hibernate, wrongly reports other users are logged on

2013-10-25 Thread Johannes Rohr
On Fr, Okt 25, 2013 at 01:38:45 +0300, Sami Erjomaa wrote:
 Hi,
 
 I have this same problem and I encountered it after I started using systemd.

I also started using systemd recentlcy and I suspected that this might
be related.

 For me the dialog shows org.freedesktop.login1.hibernate-multiple-sessions as
 the reason.
 
 My understanding is that it is dirmngr that causes this.
 
 loginctl shows:
    SESSION        UID USER             SEAT            
         c1        112 dirmngr                          
         c2       1000 durin            seat0
 
 if I kill dirmngr the dialog requesting root password doesn't pop up.

I'll try next time if I can reproduce this.

Thanks,

Johannes


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#727645: polkit-kde-1: requires root password for hibernate, wrongly reports other users are logged on

2013-10-25 Thread Martin Steigerwald
Hi!

Am Freitag, 25. Oktober 2013, 15:27:20 schrieb Johannes Rohr:
 On Fr, Okt 25, 2013 at 01:38:45 +0300, Sami Erjomaa wrote:
  Hi,
  
  I have this same problem and I encountered it after I started using
  systemd.
 I also started using systemd recentlcy and I suspected that this might
 be related.
 
  For me the dialog shows org.freedesktop.login1.hibernate-multiple-sessions
  as the reason.
  
  My understanding is that it is dirmngr that causes this.
  
  loginctl shows:
 SESSIONUID USER SEAT
  c1112 dirmngr  
  c2   1000 durinseat0
  
  if I kill dirmngr the dialog requesting root password doesn't pop up.
 
 I'll try next time if I can reproduce this.

Please see:

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

#717554
systemd: authentification is required for hibernating while other users are 
logged in
http://bugs.debian.org/717554


So this is still unsolved. I am not using / testing systemd for that reason 
since months.



Please test the solution / workaround Michael proposed in:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717554#32

I tried:

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

with my users in sudo group and still got the annoying error and it didn´t 
work for me.

Then I gave upon it.


I do think asking a user for password confirmation on hibernation after he just 
triggered the action just due to a background service having opened another 
session is broken. It may make sense if mutiple real users are logged in at 
the same time on *different* seats. But even then I don´t get why a password 
should be required. A dialog telling that other users might still be using the 
machine would be enough IMHO. Or the other user that might still be logged in 
might be asked. Anyway: For any single-seat setup asking the user for 
confirmation just doesn´t make sense.

But well, I argued this already in the other bug reports.


Maybe its a good idea to merge the bug reports regarding that issue. Actually 
I expect more of these to come if other people try systemd with KDE and do not 
look for duplicates. It will happen with any systemd and full KDE setup.

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


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#727645: polkit-kde-1: requires root password for hibernate, wrongly reports other users are logged on

2013-10-24 Thread Johannes Rohr
Package: polkit-kde-1
Version: 0.99.1-1
Severity: normal

I am trying to hibernate the system from the kickoff menu. 

Instead of going into hibernation, a dialogue pops up saying

Authentication is required for hibernating the system while other users are 
logged in

and asking for the root password

However, there are no other users logged in, as the w command shows:

 22:52:57 up 11:56,  3 users,  load average: 3,52, 4,55, 3,75
USER TTY  FROM LOGIN@   IDLE   JCPU   PCPU WHAT
jr   :022:44   ?xdm?  42:53   0.09s /bin/sh 
/usr/bin/startkde
jr   pts/2:0   22:447:59   0.00s  1.85s kdeinit4: kded4 
[kdeinit]  
jr   pts/3:0   22:481.00s  1.45s  0.00s w

So apparently, this is a bug...




-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (450, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages polkit-kde-1 depends on:
ii  kde-runtime   4:4.10.5-1
ii  libc6 2.17-93
ii  libkdecore5   4:4.10.5-1+b1
ii  libkdeui5 4:4.10.5-1+b1
ii  libpolkit-qt-1-1  0.103.0-1
ii  libqt4-dbus   4:4.8.5+git121-g2a9ea11+dfsg1-2
ii  libqtcore44:4.8.5+git121-g2a9ea11+dfsg1-2
ii  libqtgui4 4:4.8.5+git121-g2a9ea11+dfsg1-2
ii  libstdc++64.8.1-10
ii  policykit-1   0.105-4

polkit-kde-1 recommends no packages.

polkit-kde-1 suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org