Bug 1479999

Summary: vfio devices will have wrong ownership when running ovs as non-root user
Product: Red Hat Enterprise Linux 7 Reporter: Aaron Conole <aconole>
Component: openvswitchAssignee: Aaron Conole <aconole>
Status: CLOSED CURRENTRELEASE QA Contact: qding
Severity: medium Docs Contact:
Priority: medium    
Version: 7.5CC: aconole, aloughla, atragler, fleitner, qding, tredaelli
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openvswitch-2.8.0-1.el7fdb Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-16 13:15:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Aaron Conole 2017-08-09 21:55:18 UTC
Description of problem:

Basically we need:

https://mail.openvswitch.org/pipermail/ovs-dev/2017-August/337195.html

Comment 2 Aaron Conole 2017-08-15 17:43:30 UTC
https://mail.openvswitch.org/pipermail/ovs-dev/2017-August/337195.html

Part of branch-2.8

Comment 7 qding 2017-11-22 05:52:24 UTC
Reproduced:
[root@dell-per730-25 ~]# rpm -q openvswitch
openvswitch-2.7.3-2.git20171010.el7fdp.x86_64
[root@dell-per730-25 ~]# 
[root@dell-per730-25 ~]# dpdk-devbind -b vfio-pci 0000:05:00.0
[root@dell-per730-25 ~]# ll /dev/vfio/*
crw-------. 1 root root 240,   0 Nov 22 00:38 /dev/vfio/18
crw-rw-rw-. 1 root root  10, 196 Nov 22 00:35 /dev/vfio/vfio


Verified:
[root@dell-per730-25 ~]# rpm -q openvswitch
openvswitch-2.8.0-4.el7fdb.x86_64
[root@dell-per730-25 ~]# ll /dev/vfio/*
crw-rw----. 1 root hugetlbfs 240,   0 Nov 22 00:35 /dev/vfio/18
crw-rw-rw-. 1 root root       10, 196 Nov 22 00:35 /dev/vfio/vfio

Comment 8 Flavio Leitner 2018-02-16 13:15:43 UTC
Closing resolved bugs.