From: Evgeny Vereshchagin Date: Mon, 25 Jan 2016 05:00:34 +0000 (+0000) Subject: tests: fix install_pam X-Git-Tag: v229~89^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2435%2Fhead;p=thirdparty%2Fsystemd.git 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 --- diff --git a/test/test-functions b/test/test-functions index 3951bb062f1..59167b009bb 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/ }