[gnome-initial-setup/benzea/systemd-3-36: 1/3] data: Avoid running copy worker for system users



commit bc8c8bf6cc90302e941e40b8094940e5e1f85214
Author: Benjamin Berg <bberg redhat com>
Date:   Fri Mar 27 11:23:25 2020 +0100

    data: Avoid running copy worker for system users
    
    The previous check would prevent the copy worker to run for a GDM
    launched session (i.e. the gnome-login session). But really, what we are
    looking for is only running for real users, and it is simpler to check
    this directly using systemd.

 data/gnome-initial-setup-copy-worker.service.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/gnome-initial-setup-copy-worker.service.in b/data/gnome-initial-setup-copy-worker.service.in
index b3840bba..ee3c0d04 100644
--- a/data/gnome-initial-setup-copy-worker.service.in
+++ b/data/gnome-initial-setup-copy-worker.service.in
@@ -5,7 +5,7 @@ Description=GNOME Initial Setup Copy Worker
 Before=gnome-session-pre.target graphical-session-pre.target
 
 # Never run in GDM
-Conflicts=gnome-session@gnome-login.target
+ConditionUser=!@system
 
 ConditionPathExists=!%E/gnome-initial-setup-done
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]