[ovs-dev] [PATCH] redhat: Create /etc/openvswitch/* with openvswitch as user/group

Ben Pfaff blp at ovn.org
Wed Nov 29 17:06:01 UTC 2017


On Wed, Nov 29, 2017 at 05:46:53PM +0100, Timothy Redaelli wrote:
> Without this commit is not possible to upgrade an openvswitch release
> that includes the commit ac416a3ab2d2 (for example 2.8.0) with another release
> that includes the commit ac416a3ab2d2 (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 <mmichels at redhat.com>
> CC: aaron conole <aconole at redhat.com>
> Fixes: ac416a3ab2d2 ("redhat: dynamically allocate and reference ovs user")
> Signed-off-by: Timothy Redaelli <tredaelli at redhat.com>

Applied to master, thanks!

Does this need backporting?


More information about the dev mailing list