1. 10 Apr, 2013 1 commit
    • Fedora systemd team's avatar
      logind: avoid creating stale session state files · 50fb9793
      Fedora systemd team authored
      There were old session state files accumulating in /run/systemd/session.
      They confused e.g. "reboot", which thought there were still users logged
      in. The files got created like this:
      
      session_stop(Session *s) ->
              ...
              unlink(s->state_file);
              ...
              seat_set_active(s->seat, NULL) ->
                      session_save(...);  /* re-creates the state file we just
                                             unlinked */
      
      Fix it simply by clearing the s->started flag earlier to prevent
      any further writes of the state file (session_save() checks the flag).
      50fb9793
  2. 09 Apr, 2013 10 commits
  3. 08 Apr, 2013 27 commits
  4. 06 Apr, 2013 2 commits