mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03: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
|
||||
inst $file
|
||||
done
|
||||
|
||||
[[ "$LOOKS_LIKE_DEBIAN" ]] &&
|
||||
cp /etc/pam.d/systemd-user $initdir/etc/pam.d/
|
||||
}
|
||||
|
||||
install_keymaps() {
|
||||
|
Loading…
Reference in New Issue
Block a user