]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tests: copy /etc/pam.d/systemd-user from the host on Debian, Ubuntu 1925/head
authorEvgeny Vereshchagin <evvers@ya.ru>
Mon, 16 Nov 2015 23:58:20 +0000 (23:58 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Tue, 17 Nov 2015 00:09:28 +0000 (00:09 +0000)
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

index c4cf2921c8164cd80b99929af1ac4b0adc72fe81..a6eea662fc49c869629556b17d351e361148239a 100644 (file)
@@ -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() {