From 4b0bf575f6791f88cd1fe2f5b86f6c47c4d6548e Mon Sep 17 00:00:00 2001 From: lifeifei Date: Wed, 8 May 2024 14:19:25 +0800 Subject: [PATCH] add noreplace to /usr/lib/systemd/system/nslcd.service --- nss-pam-ldapd.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/nss-pam-ldapd.spec b/nss-pam-ldapd.spec index 95c0fb8..789a660 100644 --- a/nss-pam-ldapd.spec +++ b/nss-pam-ldapd.spec @@ -2,7 +2,7 @@ Name: nss-pam-ldapd Version: 0.9.12 -Release: 2 +Release: 3 Summary: NSS and PAM libraries for name lookups and authentication using LDAP License: LGPLv2+ URL: http://arthurdejong.org/nss-pam-ldapd/ @@ -94,13 +94,19 @@ getent passwd nslcd > /dev/null || \ /%{_lib}/security/pam_ldap.so %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 +%config(noreplace) %{_unitdir}/nslcd.service %attr(0775,nslcd,root) /var/run/nslcd %files help %{_mandir}/*/* %changelog +* Wed May 08 2024 lifeifei - 0.9.12-3 +- Type:requirement +- CVE:NA +- SUG:NA +- DESC:add noreplace to /usr/lib/systemd/system/nslcd.service + * Wed Oct 19 2022 yixiangzhike - 0.9.12-2 - Type:bugfix - ID:NA -- Gitee