From 4921860a019137c408147187ac37db46e3f068bb Mon Sep 17 00:00:00 2001 From: Manuel Montecelo Date: Fri, 12 Jan 2018 16:27:42 +0100 Subject: [PATCH] TT#18774 Migrate NGCP from sysv to systemd In systemd, getty is not spawned unconditionally, only when the virtual consoled is enabled, so this process is not always running. The config of systemd can be changed to start automatically getty processes for the consoles and leave them waiting, but IMO changing this just to satisfy the test is not worth it. If in the past there have been problems with not being able to log into the system because "getty" is not enabled maybe we can reconsider this, or perhaps find another check that really checks if the full login is possible (although it seems complicated), because just having getty running is not enough. Change-Id: Ibcfee42362457129f8d96c7c14e485de26e45083 --- templates/400_process-debian.yaml.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/400_process-debian.yaml.tt2 b/templates/400_process-debian.yaml.tt2 index 2116c7f..a53c0a1 100644 --- a/templates/400_process-debian.yaml.tt2 +++ b/templates/400_process-debian.yaml.tt2 @@ -9,7 +9,7 @@ process: running: true getty: - running: true + running: [% general.init_system == 'systemd' ? 'false' : 'true' %] mysqld: running: true