diff --git a/dhcp.spec b/dhcp.spec index 637a34aeed03dc712a92f22b11ca1d30c1d3a926..cd861fa6be89b9f82e7e13552e972ea0c9cb35e4 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -3,7 +3,7 @@ Name: dhcp Version: 4.4.2 -Release: 0 +Release: 1 Summary: Dynamic host configuration protocol software #Please don't change the epoch on this package Epoch: 12 @@ -251,6 +251,7 @@ exit 0 %attr(0644,root,root) %{_unitdir}/dhcpd.service %attr(0644,root,root) %{_unitdir}/dhcpd6.service %attr(0644,root,root) %{_unitdir}/dhcrelay.service +%attr(0755,dhcpd,dhcpd) %dir %{_localstatedir}/lib/dhcpd %attr(0644,dhcpd,dhcpd) %verify(mode) %config(noreplace) %{_localstatedir}/lib/dhcpd/dhcpd.leases %attr(0644,dhcpd,dhcpd) %verify(mode) %config(noreplace) %{_localstatedir}/lib/dhcpd/dhcpd6.leases %config(noreplace) %{_sysconfdir}/sysconfig/dhcpd @@ -290,6 +291,12 @@ exit 0 %{_mandir}/man3/omapi.3.gz %changelog +* Thu Sep 10 2020 gaihuiying - 4.4.2-1 +- Type:bugfix +- ID:NA +- SUG:restart +- DESC: change ownership of /var/lib/dhcpd/ to dhcpd:dhcpd + * Wed May 6 2020 zhanglu - 4.4.2b1-1 - Type:requirement - ID:NA