commit 4ef094efa4454c77e04440a830e1159c197e057b
parent 544aa75ab1a64b6d5e12c7180d998b891f584514
Author: Yosl <yosl@seattlemesh.net>
Date: Tue, 7 Jul 2020 00:15:58 -0400
Force authselect, since the previous config was not created with authselect.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rpmbuild/SPECS/gnunet-fedora.spec b/rpmbuild/SPECS/gnunet-fedora.spec
@@ -264,7 +264,7 @@ touch ~/.config/gnunet.conf
cp %{_libdir}/%{name}/nss/libnss_gns.so.2 %{_libdir}/%{name}/
cp %{_libdir}/%{name}/nss/libnss_gns4.so.2 %{_libdir}/%{name}/
cp %{_libdir}/%{name}/nss/libnss_gns6.so.2 %{_libdir}/%{name}/
-authselect select sssd
+authselect select -f sssd
touch /%{_sysconfdir}/authselect/user-nsswitch.conf
awk -i inplace '/hosts: files/ && !x {print "hosts: files gns [NOTFOUND=return] dns mdns4_minimal mdns4"; x=1} 1' /%{_sysconfdir}/authselect/user-nsswitch.conf
authselect apply-changes