fedora-cosmic: use authselect --nobackup in compose
Build containers / fedora-cosmic (rawhide) (push) Successful in 10m50s
Build containers / fedora-cosmic (44) (push) Successful in 13m46s

/var is read-only during compose so authselect could not create its backup
dir and fell back to writing PAM/nsswitch files directly. --nobackup keeps
authselect in charge of the symlinks.
This commit is contained in:
2026-09-21 18:28:22 +02:00
parent 5d9d8dbe9d
commit d7ca0cae6e
+1 -1
View File
@@ -79,7 +79,7 @@ postprocess:
/etc/authselect/custom/kanidm/password-auth
install -m 0644 /usr/share/fedora-cosmic/authselect/nsswitch.conf \
/etc/authselect/custom/kanidm/nsswitch.conf
authselect select custom/kanidm --force
authselect select custom/kanidm --force --nobackup
); then
echo "authselect setup failed, installing PAM/nsswitch directly" >&2
rm -f /etc/pam.d/system-auth /etc/pam.d/password-auth /etc/nsswitch.conf