]> git.proxmox.com Git - mirror_ovs.git/commit
rhel: user/group openvswitch does not exist
authorAlan Pevec <alan.pevec@redhat.com>
Thu, 19 Apr 2018 15:27:09 +0000 (11:27 -0400)
committerRussell Bryant <russell@ovn.org>
Tue, 1 May 2018 18:21:44 +0000 (14:21 -0400)
commitf624bf23b62a991070a3e452776d40486d6e240e
tree1064248356f16c86cdfc0ac07808c591eab40bd4
parentb51d0390d43773c6271a84b1a1a11535fc2000a6
rhel: user/group openvswitch does not exist

Default ownership[1] for config files is failing on an empty system:
  Running scriptlet: openvswitch-2.9.0-3.fc28.x86_64
warning: user openvswitch does not exist - using root
warning: group openvswitch does not exist - using root
...

Required user/group need to be created in %pre as documented in
Fedora guideline[2]

[1] https://github.com/openvswitch/ovs/commit/951d79e638ecdb3b1dcd19df1adb2ff91fe61af8

[2] https://fedoraproject.org/wiki/Packaging:UsersAndGroups#Dynamic_allocation

Submitted-at: https://github.com/openvswitch/ovs/pull/223
Signed-off-by: Alan Pevec <alan.pevec@redhat.com>
Co-authored-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Aaron Conole <aconole@redhat.com>
Acked-by: Markos Chandras <mchandras@suse.de>
Signed-off-by: Russell Bryant <russell@ovn.org>
rhel/openvswitch-fedora.spec.in