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:
parent
a7b24f3294
commit
1ec06c9592
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: nss-pam-ldapd
|
Name: nss-pam-ldapd
|
||||||
Version: 0.9.9
|
Version: 0.9.9
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: An nsswitch module which uses directory servers
|
Summary: An nsswitch module which uses directory servers
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://arthurdejong.org/nss-pam-ldapd/
|
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(0600,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/nslcd.conf
|
||||||
%attr(0644,root,root) %config(noreplace) %{_tmpfilesdir}/%{name}.conf
|
%attr(0644,root,root) %config(noreplace) %{_tmpfilesdir}/%{name}.conf
|
||||||
%{_unitdir}/nslcd.service
|
%{_unitdir}/nslcd.service
|
||||||
%attr(0755,nslcd,root) /var/run/nslcd
|
%attr(0775,nslcd,root) /var/run/nslcd
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
getent group ldap > /dev/null || \
|
getent group ldap > /dev/null || \
|
||||||
@ -104,6 +104,12 @@ getent passwd nslcd > /dev/null || \
|
|||||||
%systemd_postun_with_restart nslcd.service
|
%systemd_postun_with_restart nslcd.service
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sun Apr 1 2018 Jakub Hrozek <jhrozek@redhat.com> - 0.9.9-1
|
||||||
- Upgrade to the latest upstream
|
- Upgrade to the latest upstream
|
||||||
- Disable the python utilities
|
- Disable the python utilities
|
||||||
|
Loading…
Reference in New Issue
Block a user