[ovs-git] [openvswitch/ovs] 949b4f: redhat: Create /etc/openvswitch/* with openvswitch...

GitHub noreply at github.com
Wed Nov 29 17:36:57 UTC 2017


  Branch: refs/heads/branch-2.8
  Home:   https://github.com/openvswitch/ovs
  Commit: 949b4f12b339d6ca9e72bfec8b57e864e0b78ba5
      https://github.com/openvswitch/ovs/commit/949b4f12b339d6ca9e72bfec8b57e864e0b78ba5
  Author: Timothy Redaelli <tredaelli at redhat.com>
  Date:   2017-11-29 (Wed, 29 Nov 2017)

  Changed paths:
    M rhel/openvswitch-fedora.spec.in

  Log Message:
  -----------
  redhat: Create /etc/openvswitch/* with openvswitch as user/group

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>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Aaron Conole <aconole at redhat.com>
Tested-by: Mark Michelson <mmichels at redhat.com>




More information about the git mailing list