From 1ec06c959209d63b4758c85180cb9fe4e74e49b8 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: May 30 2018 09:30:04 +0000 Subject: Apply a patch by Lukas Slebodnik to allow root to write to the /var/run/nslcd directory Resolves: rhbz#1583211 - nslcd, the local LDAP daemon, fails to start with SELinux enabled --- diff --git a/nss-pam-ldapd.spec b/nss-pam-ldapd.spec index fa134d0..930d97d 100644 --- a/nss-pam-ldapd.spec +++ b/nss-pam-ldapd.spec @@ -5,7 +5,7 @@ Name: nss-pam-ldapd Version: 0.9.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: An nsswitch module which uses directory servers License: LGPLv2+ URL: http://arthurdejong.org/nss-pam-ldapd/ @@ -82,7 +82,7 @@ install -p -m 0644 %{SOURCE3} $RPM_BUILD_ROOT/%{_tmpfilesdir}/%{name}.conf %attr(0600,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/nslcd.conf %attr(0644,root,root) %config(noreplace) %{_tmpfilesdir}/%{name}.conf %{_unitdir}/nslcd.service -%attr(0755,nslcd,root) /var/run/nslcd +%attr(0775,nslcd,root) /var/run/nslcd %pre getent group ldap > /dev/null || \ @@ -104,6 +104,12 @@ getent passwd nslcd > /dev/null || \ %systemd_postun_with_restart nslcd.service %changelog +* Wed May 30 2018 Jakub Hrozek - 0.9.9-2 +- Apply a patch by Lukas Slebodnik to allow root to write to the + /var/run/nslcd directory +- Resolves: rhbz#1583211 - nslcd, the local LDAP daemon, fails to start + with SELinux enabled + * Sun Apr 1 2018 Jakub Hrozek - 0.9.9-1 - Upgrade to the latest upstream - Disable the python utilities