From: Frantisek Sumsal Date: Fri, 31 Jan 2020 10:51:05 +0000 (+0100) Subject: test: don't install /etc/securetty X-Git-Tag: v245-rc1~40 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2273ecfeda0b5efd33077fe6c49f5b86350b507c;p=thirdparty%2Fsystemd.git test: don't install /etc/securetty Having /etc/securetty in test containers prevents root from logging into them: ``` Jan 31 10:15:11 systemd-testsuite login[69]: pam_securetty(login:auth): access denied: tty 'pts/0' is not secure ! Jan 31 10:15:11 systemd-testsuite login[69]: FAILED LOGIN 1 FROM pts/0 FOR root, Authentication failure ``` --- diff --git a/test/test-functions b/test/test-functions index 372b0394088..1bba8e429bf 100644 --- a/test/test-functions +++ b/test/test-functions @@ -737,7 +737,6 @@ install_config_files() { inst /etc/shells inst /etc/nsswitch.conf inst /etc/pam.conf || : - inst /etc/securetty || : inst /etc/os-release inst /etc/localtime # we want an empty environment