This series attempts to introduce the ability to start and use
Open vSwitch 'out of the box' as a non-root user.  It does this by
modifying the service files to pass the recently introduced --ovs-user
argument around, and by making some minor tweaks to the passwd, group,
and filesystem information.

The more controversial changes are:

* This adds another config file (/etc/sysconfig/openvswitch-pre) to the system
* The dpdk support directly modifies /dev/hugepages with a call to chmod
* A new user 'openvswitch', and up to two new groups 'openvswitch', and
  'hugetlbfs' are created

This is presented as RFC (v0, since it will likely need changes) for
initial feedback.

Aaron Conole (4):
  rhel: allow arbitrary user:group
  fedora: dynamically allocate ovs user
  fedora: Also include the db lockfile
  fedora: allow dpdk to also run as non-root user

 rhel/openvswitch-fedora.spec.in                    | 51 ++++++++++++++++++++--
 rhel/usr_lib_systemd_system_ovs-vswitchd.service   |  6 +++
 rhel/usr_lib_systemd_system_ovsdb-server.service   |  5 +++
 ..._openvswitch_scripts_systemd_sysconfig.template |  3 ++
 4 files changed, 62 insertions(+), 3 deletions(-)

-- 
2.9.3

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to