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
This commit is contained in:
Jakub Hrozek 2018-05-30 11:30:00 +02:00
parent a7b24f3294
commit 1ec06c9592
1 changed files with 8 additions and 2 deletions

View File

@ -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 <jhrozek@redhat.com> - 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 <jhrozek@redhat.com> - 0.9.9-1
- Upgrade to the latest upstream
- Disable the python utilities