[Kde-hardware-devel] Review Request: Don't give InterruptSession special treatment
Commit Hook
null at kde.org
Thu Nov 1 16:14:40 UTC 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/107022/#review21326
-----------------------------------------------------------
This review has been submitted with commit c7b72b6f6707df83b52c18ac74a9932488968895 by Oliver Henshaw to branch master.
- Commit Hook
On Oct. 24, 2012, 2:09 p.m., Oliver Henshaw wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/107022/
> -----------------------------------------------------------
>
> (Updated Oct. 24, 2012, 2:09 p.m.)
>
>
> Review request for Solid.
>
>
> Description
> -------
>
> Don't give InterruptSession special treatment
>
> Revert "Override ck check if the last active user requested to shutdown
> the session." and matching check in systemd support.
>
> Allowing InterruptSession when another consolekit/loginctl session is
> Active means that PowerDevil may attempt to autosuspend the system from
> the Inactive session. Normally polkit disallows this and no harm is done
> but some systems have a "ResultInactive=auth_admin" policy. This will
> bring up a root dialogue on the inactive session, which is annoying and
> unnecessary at best. Due to a bug(?) this will also block upower suspend
> actions in the active session.
>
> This reverts commit 2606ff0045470d360a2ad4ad8aeb2819f653676f. It's not
> clear whether https://bugs.kde.org/show_bug.cgi?id=277774 was ever fixed
> by that commit.
>
> CCBUG: 298712
>
>
> Diffs
> -----
>
> powerdevil/daemon/powerdevilpolicyagent.cpp 70588dbcd7f02add12eb957f00decb9f0db9540a
>
> Diff: http://git.reviewboard.kde.org/r/107022/diff/
>
>
> Testing
> -------
>
> Tested timed and explicit hibernate works as expected with (a) one active session and (b) with one active and one inactive session.
>
>
> Thanks,
>
> Oliver Henshaw
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20121101/c59b34f0/attachment-0001.html>
More information about the Kde-hardware-devel
mailing list