!29 change ownership of /var/lib/dhcpd/ to dhcpd:dhcpd

From: @hanzj0122_admin
Reviewed-by: @wangxp006
Signed-off-by: @wangxp006
This commit is contained in:
openeuler-ci-bot 2021-01-07 17:34:31 +08:00 committed by Gitee
commit 51378d4927

View File

@ -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 <gaihuiying1@huawei.com> - 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 <quanhongfei@huawei.com> - 4.4.2-2
- Type:bugfix
- ID:NA