Hide Forgot
Fix included in qemu-kvm-rhev-2.6.0-6.el7
Test with two version: unfixed version: qemu-kvm-rhev-2.3.0-31.el7.x86_64 fixed version: qemu-kvm-rhev-2.6.0-25.el7.x86_64 But,got same result,would you please help check the steps? Anything wrong, please correct it, thanks. Test steps: 1. unload kvm module, uninstall qemu-kvm-rhev # rmmod kvm-intel kvm # rpm -qa | grep qemu-kvm-rhev qemu-kvm-rhev-2.3.0-31.el7.x86_64 # yum remove qemu-kvm-rhev-2.3.0-31.el7.x86_64 2. load kvm module # modprobe kvm_intel # lsmod | grep kvm kvm_intel 170125 0 kvm 543643 1 kvm_intel irqbypass 13503 2 kvm,vfio_pci 3. check owner of /dev/kvm, it is "root.root" # ll /dev/kvm crw-------. 1 root root 10, 232 Sep 14 02:28 /dev/kvm 4. Install qemu-kvm-rhev # yum install -y qemu-kvm-rhev # rpm -qa | grep qemu-kvm-rhev qemu-kvm-rhev-2.3.0-31.el7.x86_64 5. check owner of /dev/kvm # ll /dev/kvm crw-rw-rw-. 1 root kvm 10, 232 Sep 14 02:30 /dev/kvm This is for unfixed version(qemu-kvm-rhev-2.3.0-31.el7.x86_64), after qemu-kvm-rhev be installed, the owner of /dev/kvm change to root.kvm automatically. For fixed version, the result is same with above.
cancel needinfo of comment6. -------------------------reproduce--------------------- Test version: qemu-kvm-rhev-2.3.0-31.el7.x86_64 Test steps: 1. unload kvm module, uninstall qemu-kvm-rhev # rmmod kvm-intel kvm # rpm -qa | grep qemu-kvm-rhev qemu-kvm-rhev-2.3.0-31.el7.x86_64 # yum remove -y qemu-kvm-rhev-2.3.0-31.el7.x86_64 2. load kvm module # modprobe kvm_intel # lsmod | grep kvm kvm_intel 170125 0 kvm 543643 1 kvm_intel irqbypass 13503 2 kvm,vfio_pci 3. check owner of /dev/kvm, it is "root.root", right result. # ll /dev/kvm crw-------. 1 root root 10, 232 Sep 14 03:44 /dev/kvm 4. Install qemu-kvm-rhev while doing "udevadm trigger" # udevadm trigger; yum install -y ./qemu-* # rpm -qa | grep qemu-kvm-rhev qemu-kvm-rhev-2.3.0-31.el7.x86_64 5. check owner of /dev/kvm, it is "root.root", so hit this issue. # ll /dev/kvm crw-------. 1 root root 10, 232 Sep 14 03:45 /dev/kvm 6. uninstall qemu-kvm-rhev, then install qemu-kvm-rhev without "udevadm trigger" # yum remove -y qemu-kvm-rhev-2.3.0-31.el7.x86_64 # yum install -y ./qemu-* 7. check owner of /dev/kvm, it is "root.kvm" # ll /dev/kvm crw-rw-rw-. 1 root kvm 10, 232 Sep 14 03:52 /dev/kvm reproduce this bug successfully according the result of step 5. -------------------------verification--------------------- Test version: qemu-kvm-rhev-2.6.0-25.el7.x86_64 Test steps: same with above. 1. unload kvm module, uninstall qemu-kvm-rhev 2. load kvm module 3. check owner of /dev/kvm, it is "root.root", right result. # ll /dev/kvm crw-------. 1 root root 10, 232 Sep 14 04:17 /dev/kvm 4. Install qemu-kvm-rhev while doing "udevadm trigger" # udevadm trigger; yum install -y ./qemu-* (qemu-kvm-rhev-2.6.0-25.el7.x86_64) 5. check owner of /dev/kvm, it is "root.kvm". # ll /dev/kvm crw-rw-rw-. 1 root kvm 10, 232 Sep 14 04:17 /dev/kvm Move to VERIFIED according to the test result above.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2673.html