forked from pool/openvswitch
Accepting request 638873 from network
OBS-URL: https://build.opensuse.org/request/show/638873 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openvswitch?expand=0&rev=31
This commit is contained in:
commit
a2bf8b33c8
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user