From d5172c79136fceaac6324fd1896efe1e576fd71d Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Mon, 25 Jan 2016 05:00:34 +0000 Subject: tests: fix install_pam * pam_unix depends on unix_chkpwd * selinux=1 -> pam_unix runs unix_chkpwd for root too https://git.fedorahosted.org/cgit/linux-pam.git/tree/modules/pam_unix/passverify.c?id=e89d4c97385ff8180e6e81e84c5aa745daf28a79#n202 --- test/test-functions | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test-functions b/test/test-functions index 3951bb062f..59167b009b 100644 --- a/test/test-functions +++ b/test/test-functions @@ -379,6 +379,10 @@ install_pam() { inst $file done + # pam_unix depends on unix_chkpwd. + # see http://www.linux-pam.org/Linux-PAM-html/sag-pam_unix.html + dracut_install -o unix_chkpwd + [[ "$LOOKS_LIKE_DEBIAN" ]] && cp /etc/pam.d/systemd-user $initdir/etc/pam.d/ } -- cgit v1.2.3-54-g00ecf