]> git.proxmox.com Git - mirror_ovs.git/commitdiff
rhel: hugetlbfs group should be added as a system group.
authorAaron Conole <aconole@redhat.com>
Tue, 6 Nov 2018 17:28:15 +0000 (12:28 -0500)
committerBen Pfaff <blp@ovn.org>
Fri, 9 Nov 2018 21:36:14 +0000 (13:36 -0800)
Reported-by: Edgar Hoch <edgar.hoch@ims.uni-stuttgart.de>
Signed-off-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
rhel/openvswitch-fedora.spec.in

index ba55fb55c844f3886d718431d3827494e521e9b0..7a3fcf93a169519af7165a6260b3d4dccd2a8e3b 100644 (file)
@@ -410,7 +410,7 @@ getent passwd openvswitch >/dev/null || \
     -c "Open vSwitch Daemons" openvswitch
 
 %if %{with dpdk}
-    getent group hugetlbfs >/dev/null || groupadd hugetlbfs
+    getent group hugetlbfs >/dev/null || groupadd -r hugetlbfs
     usermod -a -G hugetlbfs openvswitch
 %endif
 exit 0