[ovs-git] [openvswitch/ovs] ea81f1: redhat: fix upgrades where group doesn't exist

GitHub noreply at github.com
Wed Aug 30 23:04:20 UTC 2017


  Branch: refs/heads/branch-2.8
  Home:   https://github.com/openvswitch/ovs
  Commit: ea81f1d522cb752d1656bbe1d2933466ebbc53a7
      https://github.com/openvswitch/ovs/commit/ea81f1d522cb752d1656bbe1d2933466ebbc53a7
  Author: Aaron Conole <aconole at redhat.com>
  Date:   2017-08-30 (Wed, 30 Aug 2017)

  Changed paths:
    M rhel/usr_lib_systemd_system_ovs-vswitchd.service.in

  Log Message:
  -----------
  redhat: fix upgrades where group doesn't exist

The upgrade from older Open vSwitch versions on RHEL will try, as much as
possible, to preserve the system.  This means no new users or groups are
created.  As an effect, it's possible for the chown to fail, because the
hugetlbfs group may not exist.  While it did on my systems, it was not
there on others.

This change allows the ExecStartPre commands to fail.  In the case that the
user doesn't use DPDK, it won't matter anyway.

Fixes: e3e738a3d058 ('redhat: allow dpdk to also run as non-root user')
Signed-off-by: Aaron Conole <aconole at redhat.com>
Reported-by: Jean-Tsung Hsiao <jhsiao at redhat.com>
Tested-by: Jean-Tsung Hsiao <jhsiao at redhat.com>
Acked-by: Flavio Leitner <fbl at sysclose.org>
Signed-off-by: Russell Bryant <russell at ovn.org>




More information about the git mailing list