Advisories ยป MGAA-2015-0145

Updated systemd package fixes session activity detection

Publication date: 09 Oct 2015
Type: bugfix
Affected Mageia releases : 5


With our previous systemd version 217 this state is sometimes wrong with
STATE=online instead of STATE=active. This happens either after a user
logs out, and logs back in again to his X session, or in some cases when
the display manager / X session is manually started from a terminal In
each case, it results in polkit not being able to start any program with
root authorisation, and there is no workaround for this.

An explanation of the two states from sd_uid_get_state (3) manpage:
"online" (user logged in, but not active, i.e. has no session in the
"active" (user logged in, and has at least one active session, i.e. one
session in the foreground)