[gnome-continuous] libqa: add user before gdm



commit a23130536aaac8da145ef52dc6e52aea3258287a
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Sun May 4 12:07:06 2014 +0200

    libqa: add user before gdm
    
    
    GDM sometime stats before multi-user.target and during the smoketest shell is loaded in initial-setup 
mode, which doesn't send a message to journald

 src/js/libqa.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/js/libqa.js b/src/js/libqa.js
index efe0e49..e50ec8d 100644
--- a/src/js/libqa.js
+++ b/src/js/libqa.js
@@ -236,7 +236,7 @@ function injectTestUserCreation(currentDir, currentEtcDir, username, params, can
     execLine = Format.vprintf('/bin/sh -c "%s"; /bin/sh -c "%s"; /bin/sh -c "%s"', [addUserCommand, 
passwordCommand, setSessionCommand])
     let addUserService = '[Unit]\n\
 Description=Add user %s\n\
-Before=multi-user.target\n\
+Before=gdm.service\n\
 [Service]\n\
 ExecStart=%s\n\
 Type=oneshot\n';


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