Bug 956033

Summary: systemd does not update the user session state in all cases.
Product: [openSUSE] openSUSE Distribution Reporter: Marcus Meissner <meissner>
Component: SecurityAssignee: systemd maintainers <systemd-maintainers>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: cmcgrath5035, farcusnz, forgotten_fbKqKvv6Lf, forgotten_gmWlqx1p_8, michaelof, nwr10cst-oslnx, systemd-maintainers, wbauer
Version: Leap 42.1   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 42.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on: 954139    
Bug Blocks:    

Description Marcus Meissner 2015-11-20 13:27:33 UTC
+++ This bug was initially created as a clone of Bug #954139 +++

User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0
Build Identifier: 

a couple of days ago there was a polkit update to 0.113-6.1 in the Leap 42.1 update repo.
Since then - when I logout and then log back in I am presented with a password prompt.
if I enter the root password the updater application then tells me no connection due to unauthorised access (or something similar) and if I enter no password then I get the same message.
In addition - using the kde menu entries to either reboot or shutdown no longer work - they simply just log me out.
rolling back polkit to 0.112-4.2 solves the issue.

Reproducible: Always
Comment 1 Marcus Meissner 2015-11-20 13:28:14 UTC
from hardy heroin (fix at the end):


In response to Comment 21:
Clean reboot, login:
state = active
Logout, Login
state = online
Login via ssh on terminal
state = active
Logout, Login
state = online.

Tested for both ssdm and kdm as display manager.

In any case I think this is the commit that introduced the problem
http://cgit.freedesktop.org/polkit/commit/?id=a29653ffa99e0809e15aa34afcd7b2df8593871c
but I think it's a problem with systemd, and they have identified it as such a few months ago.
See this for more information:

https://github.com/systemd/systemd/pull/58
Comment 2 Tomáš Chvátal 2018-04-13 15:03:05 UTC
This is automated batch bugzilla cleanup.

The openSUSE 42.1 changed to end-of-life (EOL [1]) status. As such
it is no longer maintained, which means that it will not receive any
further security or bug fix updates.
As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
openSUSE, or you can still observe it under openSUSE Leap 15.0, please
feel free to reopen this bug against that version (see the "Version"
component in the bug fields), or alternatively open
a new ticket.

Thank you for reporting this bug and we are sorry it could not be fixed
during the lifetime of the release.

[1] https://en.opensuse.org/Lifetime