diff options
author | Thomas Blume <thomas.blume@suse.com> | 2018-09-12 15:10:58 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-09-13 12:18:27 +0200 |
commit | 8c1f04352b671aceb101516186d8e4ca6ec220f8 (patch) | |
tree | 91c9d536affb91d9cc70a286330aba08518a7068 /units/user@.service.in | |
parent | 2b8b1056d926440e2e1b58ffe25012445031dac5 (diff) | |
download | systemd-8c1f04352b671aceb101516186d8e4ca6ec220f8.tar.gz |
user@.service: don't kill user manager at runlevel switch
Loggin in as root user and then switching the runlevel results in a
stop of the user manager, even though the user ist still logged in.
That leaves a broken user session.
Adding "IgnoreOnIsolate=true" to user@.service fixes this.
Diffstat (limited to 'units/user@.service.in')
-rw-r--r-- | units/user@.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/user@.service.in b/units/user@.service.in index f840c4114c..ca98c0515d 100644 --- a/units/user@.service.in +++ b/units/user@.service.in @@ -12,6 +12,7 @@ Description=User Manager for UID %i Documentation=man:user@.service(5) After=systemd-user-sessions.service user-runtime-dir@%i.service dbus.service Requires=user-runtime-dir@%i.service +IgnoreOnIsolate=yes [Service] User=%i |