SHA256
1
0
forked from pool/openvswitch
Dominique Leuenberger 2018-10-01 06:18:23 +00:00 committed by Git OBS Bridge
commit a2bf8b33c8
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 27 16:06:58 UTC 2018 - Markos Chandras <mchandras@suse.de>
- Use correct user for logrotate script (bsc#1104049, b096fa42ddc2)
-------------------------------------------------------------------
Mon Sep 24 12:46:34 UTC 2018 - Markos Chandras <mchandras@suse.de>

View File

@ -518,6 +518,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
if [ $1 -eq 1 ]; then
sed -i 's:^#OVS_USER_ID=:OVS_USER_ID=:' %{_sysconfdir}/sysconfig/openvswitch
sed -i 's:\(.*su\).*:\1 openvswitch openvswitch:' %{_sysconfdir}/logrotate.d/openvswitch
%if %{with dpdk}
sed -i \
@ -526,6 +527,7 @@ if [ $1 -eq 1 ]; then
%endif
# In the case of upgrade, this is not needed
chown -R openvswitch:openvswitch %{_sysconfdir}/openvswitch
chown -R openvswitch:openvswitch %{_localstatedir}/log/openvswitch
fi
%if 0%{?suse_version}
%service_add_post ovsdb-server.service