Re: [systemd-devel] [PATCH] logind: close race on session state during logins

2014-02-16 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Feb 13, 2014 at 11:03:23PM +0100, Djalal Harouni wrote: At login there is a small race window where session_get_state() will return SESSION_ACTIVE instead of SESSION_OPENING. This must be fixed since during that time there are calls to session_save() to save session states and we want

[systemd-devel] [PATCH] logind: close race on session state during logins

2014-02-13 Thread Djalal Harouni
At login there is a small race window where session_get_state() will return SESSION_ACTIVE instead of SESSION_OPENING. This must be fixed since during that time there are calls to session_save() to save session states and we want to write the correct state. When we queue the start scope and