forked from pool/openvswitch
Dirk Mueller
eec277fb34
Fix installation of files shared with OVN (required for building OVN without openvswitch sources) OBS-URL: https://build.opensuse.org/request/show/965755 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=222
31 lines
1.3 KiB
Diff
31 lines
1.3 KiB
Diff
From e54cce931bafa12176989a5d59e3839f1bcfdf0c Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Jaime=20Caama=C3=B1o=20Ruiz?= <jcaamano@suse.com>
|
|
Date: Wed, 6 May 2020 16:32:28 +0200
|
|
Subject: [PATCH 1/2] Don't change permissions of /dev/hugepages
|
|
|
|
For SLES/openSUSE, don't change permissions of /dev/hugepages as that is
|
|
a system path. Sysadmin shoudl mount hugepages on a path and permission
|
|
of his choosing if OVS either manually or via hugeadm.
|
|
---
|
|
rhel/usr_lib_systemd_system_ovs-vswitchd.service.in | 4 ----
|
|
1 file changed, 4 deletions(-)
|
|
|
|
diff --git a/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in b/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in
|
|
index ff43dae96..08355d950 100644
|
|
--- a/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in
|
|
+++ b/rhel/usr_lib_systemd_system_ovs-vswitchd.service.in
|
|
@@ -16,10 +16,6 @@ EnvironmentFile=/etc/openvswitch/default.conf
|
|
EnvironmentFile=-/etc/sysconfig/openvswitch
|
|
EnvironmentFile=-/run/openvswitch.useropts
|
|
LimitSTACK=2M
|
|
-@begin_dpdk@
|
|
-ExecStartPre=-/bin/sh -c '/usr/bin/chown :$${OVS_USER_ID##*:} /dev/hugepages'
|
|
-ExecStartPre=-/usr/bin/chmod 0775 /dev/hugepages
|
|
-@end_dpdk@
|
|
ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \
|
|
--no-ovsdb-server --no-monitor --system-id=random \
|
|
${OVS_USER_OPT} \
|
|
--
|
|
2.16.4
|
|
|