Also change the pemissions on tmpfiles

Related: rhbz#1583211 - nslcd, the local LDAP daemon, fails to start
                        with SELinux enabled
This commit is contained in:
Jakub Hrozek 2018-05-30 14:55:23 +02:00
parent 1ec06c9592
commit 8aba18fe2a
2 changed files with 7 additions and 2 deletions

View File

@ -1,2 +1,2 @@
# nslcd needs a directory in /var/run to store its pid file and socket
d /var/run/nslcd 0755 nslcd root
d /var/run/nslcd 0775 nslcd root

View File

@ -5,7 +5,7 @@
Name: nss-pam-ldapd
Version: 0.9.9
Release: 2%{?dist}
Release: 3%{?dist}
Summary: An nsswitch module which uses directory servers
License: LGPLv2+
URL: http://arthurdejong.org/nss-pam-ldapd/
@ -104,6 +104,11 @@ getent passwd nslcd > /dev/null || \
%systemd_postun_with_restart nslcd.service
%changelog
* Wed May 30 2018 Jakub Hrozek <jhrozek@redhat.com> - 0.9.9-3
- Also change the pemissions on tmpfiles
- Related: rhbz#1583211 - nslcd, the local LDAP daemon, fails to start
with SELinux enabled
* 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