diff --git a/dhcp.spec b/dhcp.spec index 7d9c07963f34594887cdf9ba5149bf7f44582408..3ddf6eaa1add22b1588468a6cd4c335ed7a09f10 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -3,7 +3,7 @@ Name: dhcp Version: 4.4.2 -Release: 2 +Release: 3 Summary: Dynamic host configuration protocol software #Please don't change the epoch on this package Epoch: 12 @@ -252,6 +252,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 @@ -291,6 +292,12 @@ exit 0 %{_mandir}/man3/omapi.3.gz %changelog +* Tue Jan 5 2021 gaihuiying - 4.4.2-3 +- Type:bugfix +- ID:NA +- SUG:restart +- DESC: change ownership of /var/lib/dhcpd/ to dhcpd:dhcpd + * Tue Dec 29 2020 quanhongfei - 4.4.2-2 - Type:bugfix - ID:NA