From 417491f122b346a31cf8dc406c4f9195a5900cec Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Mon, 16 Nov 2015 23:58:20 +0000 Subject: tests: copy /etc/pam.d/systemd-user from the host on Debian, Ubuntu Fixes: systemd-testsuite systemd[34]: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth systemd-testsuite systemd[34]: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth systemd-testsuite systemd[34]: user@0.service: Failed at step PAM spawning /lib/systemd/systemd: Operation not permitted ... on Debian, Ubuntu --- test/test-functions | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') diff --git a/test/test-functions b/test/test-functions index c4cf2921c8..a6eea662fc 100644 --- a/test/test-functions +++ b/test/test-functions @@ -284,6 +284,9 @@ install_pam() { ) | while read file; do inst $file done + + [[ "$LOOKS_LIKE_DEBIAN" ]] && + cp /etc/pam.d/systemd-user $initdir/etc/pam.d/ } install_keymaps() { -- cgit v1.2.3-54-g00ecf