Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
redhat: Create /etc/openvswitch/* with openvswitch as user/group
Without this commit is not possible to upgrade an openvswitch release that includes the commit ac416a3 (for example 2.8.0) with another release that includes the commit ac416a3 (for example master or 2.8.1), because rpm changes the user/group of /etc/openvswitch to root/root, but ovsdb-server starts with the user openvswitch and so it doesn't have permissions to write in /etc/openvswitch/conf.db. This patch tell rpm to use the openvswitch user and group for /etc/openvswitch and /etc/openvswitch/default.conf. Reported-by: Mark Michelson <[email protected]> CC: aaron conole <[email protected]> Fixes: ac416a3 ("redhat: dynamically allocate and reference ovs user") Signed-off-by: Timothy Redaelli <[email protected]> Signed-off-by: Ben Pfaff <[email protected]> Acked-by: Aaron Conole <[email protected]> Tested-by: Mark Michelson <[email protected]>
- Loading branch information