<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - logind session gets stuck semi-often"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89024">89024</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>logind session gets stuck semi-often
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>marius.vollmer@redhat.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>systemd-216-17.fc21.x86_64
In our testsuite, we can fairly regularly observe sessions stuck in the
'closing' state without any processes in them:
3 - admin (1000)
Since: Sat 2015-02-07 19:35:01 EET; 4min 41s ago
Leader: 782
TTY: cockpit-782
Remote: 10.111.111.200
Service: cockpit; type tty; class user
State: closing
Unit: session-3.scope
<empty>
As far as I can tell, this state persists indefinitely. "loginctl
terminate-session 3" will remove the session immediately.
The session is created by our own code. The journal shows these messages:
Feb 07 16:57:08 localhost.localdomain systemd-logind[320]: New session 3 of
user admin.
Feb 07 16:57:08 localhost.localdomain systemd[786]:
pam_unix(systemd-user:session): session opened for user admin by (uid=0)
...
Feb 07 16:57:10 localhost.localdomain cockpit-session[781]:
pam_unix(cockpit:session): session closed for user admin
Note that systemd seems to open the session, but cockpit-session seems to close
it. (If I have copied the right lines.)
Any hints for debugging this would be appreciated.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>