mirror of
https://github.com/systemd/systemd
synced 2024-09-06 00:41:36 +00:00
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
This commit is contained in:
parent
8702319e11
commit
417491f122
|
@ -284,6 +284,9 @@ install_pam() {
|
||||||
) | while read file; do
|
) | while read file; do
|
||||||
inst $file
|
inst $file
|
||||||
done
|
done
|
||||||
|
|
||||||
|
[[ "$LOOKS_LIKE_DEBIAN" ]] &&
|
||||||
|
cp /etc/pam.d/systemd-user $initdir/etc/pam.d/
|
||||||
}
|
}
|
||||||
|
|
||||||
install_keymaps() {
|
install_keymaps() {
|
||||||
|
|
Loading…
Reference in a new issue