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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user