teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone
Blob Blame History Raw
From 76771540ffa4656e66e6ee64d1f23a08d7f2d1ae Mon Sep 17 00:00:00 2001
From: Yu Watanabe <watanabe.yu+github@gmail.com>
Date: Sun, 31 Jul 2022 00:12:48 +0900
Subject: [PATCH] test: do not restart getty@tty2 automatically

(cherry picked from commit 54d5c126d30dc0bc4c88d776af2b59e240844d58)

Related: #2100464
---
 test/units/testsuite-35.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/units/testsuite-35.sh b/test/units/testsuite-35.sh
index b6b1639668..8bd93ce92c 100755
--- a/test/units/testsuite-35.sh
+++ b/test/units/testsuite-35.sh
@@ -323,6 +323,7 @@ create_session() {
 Type=simple
 ExecStart=
 ExecStart=-/sbin/agetty --autologin logind-test-user --noclear %I $TERM
+Restart=no
 EOF
     systemctl daemon-reload