summaryrefslogtreecommitdiff
path: root/src/login/user-runtime-dir.c
Commit message (Collapse)AuthorAge
* logind: split %t directory creation to a helper unitZbigniew Jędrzejewski-Szmek2018-08-24
Unfortunately this needs a new binary to do the mount because there's just too many special steps to outsource this to systemd-mount: - EPERM needs to be treated specially - UserRuntimeDir= setting must be obeyed - SELinux label must be adjusted This allows user@.service to be started independently of logind. So 'systemctl start user@nnn' will start the user manager for user nnn. Logind will start it too when the user logs in, and will stop it (unless lingering is enabled) when the user logs out. Fixes #7339.