Bug ID | 1018684 |
---|---|
Summary | Installing VirtualBox from Leap 42.2 doesn't generate required udev file to utilize USB in VM |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | Leap 42.2 |
Hardware | x86-64 |
OS | Windows 10 |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Virtualization:Other |
Assignee | virt-bugs@suse.de |
Reporter | jdonn@cirracon.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
After installing VirtualBox from the Leap 42.2 DVD I downloaded, the guest VM's were unable to recognize USB devices in the guest even after installing the extension pack and making sure my user id was a member of the vboxusers group. It turns out the issue is the /etc/udev/rules.d/S60-vboxdrv.rules file is not created. This was not an issue in 42.1. By manually creating this file, the USB issue is resolved. The installation script for VirtualBox needs to be updated to include setting up this file (in earlier versions, the necessary lines appear in the file but are commented out due to potential security risks. This behavior should be maintained). My manually created file contained the following lines: KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600"KERNEL=="vboxdrvu", NAME="vboxdrvu", OWNER="root", GROUP="root", MODE="0666" KERNEL=="vboxnetctl", NAME="vboxnetctl", OWNER="root", GROUP="root", MODE="0600" SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}" SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass}" SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor" SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/virtualbox/VBoxCreateUSBNode.sh --remove $major $minor"