From d7ca0cae6e746529b5e2805aa8f73b800c5924a6 Mon Sep 17 00:00:00 2001 From: Wesley van Tilburg Date: Mon, 21 Sep 2026 18:28:22 +0200 Subject: [PATCH] fedora-cosmic: use authselect --nobackup in compose /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. --- images/fedora-cosmic/custom.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/fedora-cosmic/custom.yaml b/images/fedora-cosmic/custom.yaml index bdc88f4..21c2825 100644 --- a/images/fedora-cosmic/custom.yaml +++ b/images/fedora-cosmic/custom.yaml @@ -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