<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - systemd fails to close user sessions with nonexistent home (nobody)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=83100#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - systemd fails to close user sessions with nonexistent home (nobody)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=83100">bug 83100</a>
from <span class="vcard"><a class="email" href="mailto:ataraxia937@gmail.com" title="ataraxia937@gmail.com">ataraxia937@gmail.com</a>
</span></b>
<pre>I'm not the original reporter, but I have some info:
Yes, setting WorkingDirectory=/ in systemd-exit.service fixes it.
An easy way to reproduce is to run a cron job that su's to a user with a
nonexistent home directory. I put this in root's crontab:
* * * * * su -s /bin/sh -c /bin/true nobody
and it triggered it.</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>