Summary: | systemd fails to close user sessions with nonexistent home (nobody) | ||
---|---|---|---|
Product: | systemd | Reporter: | Nicolas George <george> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | CC: | aklhfex, alexandre |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Nicolas George
2014-08-26 14:32:20 UTC
If you add WorkingDirectory=/ at the end of /usr/lib/systemd/user/systemd-exit.service , does it fix the issue ? In fact, can you explain how do you trigger the timeout ? ( like a step by step process, as I am not sure on how to reproduce to test myself ) 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. Fixed in git. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.