From 13cf422e04b760b61e95ac992ee9b76256c343e9 Mon Sep 17 00:00:00 2001 From: Thomas Blume Date: Wed, 12 Sep 2018 15:10:58 +0200 Subject: [PATCH] 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. --- units/user@.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/units/user@.service.in b/units/user@.service.in index f840c4114c0..ca98c0515df 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 -- 2.47.3