Bug 58127 - dbus timeout while waiting for polkit agent
Summary: dbus timeout while waiting for polkit agent
Status: RESOLVED NOTABUG
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium minor
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard: user-experience cosmetic bad-error-me...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-11 10:21 UTC by szunti
Modified: 2014-06-25 09:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description szunti 2012-12-11 10:21:19 UTC

    
Comment 1 szunti 2012-12-11 10:32:10 UTC
Happens with systemctl poweroff/reboot.

Steps to reproduce:

1) have more than one user logged in
2) systemctl poweroff
3) polkit will ask you for authentication, wait instead of typing password
Result:
dbus errors, then broadcast message about power-off, although nothing happens (pc will not power-off)

Output:

  $ systemctl poweroff
  ==== AUTHENTICATING FOR org.freedesktop.login1.power-off-multiple-sessions ===
  Authentication is required for powering off the system while other users are 
  logged in.
  Authenticating as: vandrus
  Password: Failed to issue method call: Did not receive a reply. Possible 
  causes include: the remote application did not send a reply, the message bus
  security policy blocked the reply, the reply timeout expired, or the network
  connection was broken.
  Failed to issue method call: Access denied

  Broadcast message from vandrus@hollo on pts/0 (Tue, 2012-12-11 11:23:23 CET):

  The system is going down for power-off NOW!

  polkit-agent-helper-1: pam_authenticate failed: Conversation error
Comment 2 Cristian Rodríguez 2013-12-02 03:25:48 UTC
All these messages (except for the final fake broadcast message that does not happen in systemd 208 at least) are expected..

I agree that a nicer message should be displayed though.
Comment 3 Lennart Poettering 2014-06-25 09:45:47 UTC
Yeah, the polkit conversation and the bus calls will timeout. This is intended that way. CLosing.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.