|
Bugzilla – Full Text Bug Listing |
| Summary: | VirtualBox not allowed to access USB devices although user is in vboxusers group | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Distribution | Reporter: | Michael Nickol <michael.nickol> |
| Component: | Virtualization:Other | Assignee: | Larry Finger <Larry.Finger> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | gerben.jansen, javier, Larry.Finger, llrainey15, michael.nickol |
| Version: | Leap 15.5 | Flags: | llrainey15:
needinfo?
(michael.nickol) |
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Michael Nickol
2024-04-07 16:36:04 UTC
Did you reboot - this works fine on all my 15.5 hosts LLR5:~ # /usr/lib/virtualbox/vboxdrv.sh status VirtualBox kernel modules (vboxdrv, vboxnetflt, vboxnetadp) are loaded. LLR5:~ # ll /dev/vbox* crw-rw---- 1 root vboxusers 10, 122 Apr 7 14:05 /dev/vboxdrv crw-rw---- 1 root vboxusers 10, 121 Apr 7 14:05 /dev/vboxdrvu crw-rw---- 1 root vboxusers 10, 120 Apr 7 14:05 /dev/vboxnetctl /dev/vboxusb: total 0 drwxr-x--- 2 root vboxusers 80 Apr 7 14:07 001 drwxr-x--- 2 root vboxusers 60 Apr 7 14:05 002 LLR5:~ # zypper se -si virtualbox Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository ---+------------------------+---------+-------------------------------------------+--------+-------------------------- i+ | virtualbox | package | 7.0.14-0 | x86_64 | VB i+ | virtualbox-kmp-default | package | 7.0.14_k5.14.21_150500.55.52-lp155.2.19.1 | x86_64 | openSUSE-Leap-15.5-Update i+ | virtualbox-kmp-default | package | 7.0.14_k5.14.21_150500.55.49-lp155.2.16.1 | x86_64 | openSUSE-Leap-15.5-Update i+ | virtualbox-kmp-default | package | 7.0.14_k5.14.21_150500.55.39-0 | x86_64 | VB i+ | virtualbox-kmp-default | package | 7.0.12_k5.14.21_150500.55.31-lp155.2.13.1 | x86_64 | openSUSE-Leap-15.5-Update 1222408 I thought the fix was pushed to 15.5 as well as TW and 15.6. That is now fixed as task 1165992. I will see how soon I can get it pushed to an update. In the meantime, you can obtain the fixed code at https://build.opensuse.org/package/show/home:lwfinger:branches:openSUSE:Leap:15.5:Update/virtualbox. I have installed your temporary fix from build service and id worked. USB devices can now be accessed. Thank You This is an autogenerated message for OBS integration: This bug (1222408) was mentioned in https://build.opensuse.org/request/show/1165992 15.5 / virtualbox (In reply to Larry Rainey from comment #1) > Did you reboot - this works fine on all my 15.5 hosts > > LLR5:~ # /usr/lib/virtualbox/vboxdrv.sh status > VirtualBox kernel modules (vboxdrv, vboxnetflt, vboxnetadp) are loaded. > LLR5:~ # ll /dev/vbox* > crw-rw---- 1 root vboxusers 10, 122 Apr 7 14:05 /dev/vboxdrv > crw-rw---- 1 root vboxusers 10, 121 Apr 7 14:05 /dev/vboxdrvu > crw-rw---- 1 root vboxusers 10, 120 Apr 7 14:05 /dev/vboxnetctl > > /dev/vboxusb: > total 0 > drwxr-x--- 2 root vboxusers 80 Apr 7 14:07 001 > drwxr-x--- 2 root vboxusers 60 Apr 7 14:05 002 > LLR5:~ # zypper se -si virtualbox > Loading repository data... > Reading installed packages... > > S | Name | Type | Version > | Arch | Repository > ---+------------------------+---------+-------------------------------------- > -----+--------+-------------------------- > i+ | virtualbox | package | 7.0.14-0 > | x86_64 | VB > i+ | virtualbox-kmp-default | package | > 7.0.14_k5.14.21_150500.55.52-lp155.2.19.1 | x86_64 | > openSUSE-Leap-15.5-Update > i+ | virtualbox-kmp-default | package | > 7.0.14_k5.14.21_150500.55.49-lp155.2.16.1 | x86_64 | > openSUSE-Leap-15.5-Update > i+ | virtualbox-kmp-default | package | 7.0.14_k5.14.21_150500.55.39-0 > | x86_64 | VB > i+ | virtualbox-kmp-default | package | > 7.0.12_k5.14.21_150500.55.31-lp155.2.13.1 | x86_64 | > openSUSE-Leap-15.5-Update > 1222408 I rebooted after the last leap 15.5 update and the bug was noticed. (In reply to Michael Nickol from comment #5) > (In reply to Larry Rainey from comment #1) > > Did you reboot - this works fine on all my 15.5 hosts > > > > LLR5:~ # /usr/lib/virtualbox/vboxdrv.sh status > > VirtualBox kernel modules (vboxdrv, vboxnetflt, vboxnetadp) are loaded. > > LLR5:~ # ll /dev/vbox* > > crw-rw---- 1 root vboxusers 10, 122 Apr 7 14:05 /dev/vboxdrv > > crw-rw---- 1 root vboxusers 10, 121 Apr 7 14:05 /dev/vboxdrvu > > crw-rw---- 1 root vboxusers 10, 120 Apr 7 14:05 /dev/vboxnetctl > > > > /dev/vboxusb: > > total 0 > > drwxr-x--- 2 root vboxusers 80 Apr 7 14:07 001 > > drwxr-x--- 2 root vboxusers 60 Apr 7 14:05 002 > > LLR5:~ # zypper se -si virtualbox > > Loading repository data... > > Reading installed packages... > > > > S | Name | Type | Version > > | Arch | Repository > > ---+------------------------+---------+-------------------------------------- > > -----+--------+-------------------------- > > i+ | virtualbox | package | 7.0.14-0 > > | x86_64 | VB > > i+ | virtualbox-kmp-default | package | > > 7.0.14_k5.14.21_150500.55.52-lp155.2.19.1 | x86_64 | > > openSUSE-Leap-15.5-Update > > i+ | virtualbox-kmp-default | package | > > 7.0.14_k5.14.21_150500.55.49-lp155.2.16.1 | x86_64 | > > openSUSE-Leap-15.5-Update > > i+ | virtualbox-kmp-default | package | 7.0.14_k5.14.21_150500.55.39-0 > > | x86_64 | VB > > i+ | virtualbox-kmp-default | package | > > 7.0.12_k5.14.21_150500.55.31-lp155.2.13.1 | x86_64 | > > openSUSE-Leap-15.5-Update > > 1222408 > > I rebooted after the last leap 15.5 update and the bug was noticed. I reinstalled from opeSUSE repository to reproduce: Silentmax:~ # /usr/lib/virtualbox/vboxdrv.sh status chmod: cannot access '/etc/vboxusb/': No such file or directory chmod: cannot access '/etc/vboxusb/*': No such file or directory chmod: cannot access '/etc/vboxusb/*/*': No such file or directory VirtualBox kernel modules (vboxdrv, vboxnetflt, vboxnetadp) are loaded. Silentmax:~ # ll /dev/vbox* crw-rw---- 1 root vboxusers 10, 124 Apr 7 22:41 /dev/vboxdrv crw-rw---- 1 root vboxusers 10, 123 Apr 7 22:41 /dev/vboxdrvu crw-rw---- 1 root vboxusers 10, 122 Apr 7 22:41 /dev/vboxnetctl /dev/vboxusb: total 0 drw-rw---- 2 root vboxusers 80 Apr 7 22:41 004 drw-rw---- 2 root vboxusers 60 Apr 7 22:41 010 Silentmax:~ # zypper se -si virtualbox Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository ---+--------------------------------+---------+-------------------------------------------+--------+----------------------- i | python3-virtualbox | package | 7.0.14-lp155.2.19.1 | x86_64 | Main Update Repository i+ | virtualbox | package | 7.0.14-lp155.2.19.1 | x86_64 | Main Update Repository i+ | virtualbox-devel | package | 7.0.14-lp155.2.19.1 | x86_64 | Main Update Repository i+ | virtualbox-guest-desktop-icons | package | 7.0.14-lp155.2.19.1 | noarch | Main Update Repository i+ | virtualbox-guest-source | package | 7.0.14-lp155.2.19.1 | noarch | Main Update Repository i+ | virtualbox-guest-tools | package | 7.0.14-lp155.2.19.1 | x86_64 | Main Update Repository i+ | virtualbox-host-source | package | 7.0.14-lp155.2.19.1 | noarch | Main Update Repository i | virtualbox-kmp-default | package | 7.0.14_k5.14.21_150500.55.52-lp155.2.19.1 | x86_64 | Main Update Repository i+ | virtualbox-qt | package | 7.0.14-lp155.2.19.1 | x86_64 | Main Update Repository i+ | virtualbox-vnc | package | 7.0.14-lp155.2.19.1 | x86_64 | Main Update Repository i+ | virtualbox-websrv | package | 7.0.14-lp155.2.19.1 | x86_64 | Main Update Repository Silentmax:~ # I'm also affected by this bug. To get it working I have rolled back to the previous version. virtualbox-7.0.14-lp155.2.16.2.x86_64 virtualbox-kmp-default-7.0.14_k5.14.21_150500.55.49-lp155.2.16.1.x86_64 virtualbox-qt-7.0.14-lp155.2.16.2.x86_64 (In reply to Larry Finger from comment #2) > I thought the fix was pushed to 15.5 as well as TW and 15.6. That is now > fixed as task 1165992. I will see how soon I can get it pushed to an update. > In the meantime, you can obtain the fixed code at > https://build.opensuse.org/package/show/home:lwfinger:branches:openSUSE:Leap: > 15.5:Update/virtualbox. I tried the URL, but i get "Project not found: home:lwfinger:branches:openSUSE:Leap:15.5:Update " Where did it go ? (In reply to Gerben Jansen from comment #8) > I tried the URL, but i get "Project not found: > home:lwfinger:branches:openSUSE:Leap:15.5:Update " > > Where did it go ? Home projects get deleted for a number of reasons. I'm not sure which one applied here. You can find the VB packages at https://build.opensuse.org/projects/Virtualization/packages/virtualbox/repositories/15.5/binaries and the kernel modules at https://build.opensuse.org/projects/Virtualization/packages/virtualbox:kmp/repositories/15.5/binaries. This bug is mentioned in openSUSE-2024-134 - Recommended update for virtualbox; - Setting 0660 as permissions of /dev/vboxusb directory itself was preventing access to this directory by any non-root user, even if member of vboxusers. This results in VBox UI failing to enable USB passthrough. Fix issue by removing all the workarounds for /dev/vboxusb/* as they should no longer be required. Fixes boo#1222408. The latest 7.0.18 is correct and allows vboxusers to access USB Is your USB setup in the virtual machine enabled - It has to be to access the USB. the output ownership should look like this: user1@LLR1:~> ll /dev/vb* crw-rw---- 1 root vboxusers 10, 122 May 21 10:06 /dev/vboxdrv crw-rw---- 1 root vboxusers 10, 121 May 21 10:06 /dev/vboxdrvu crw-rw---- 1 root vboxusers 10, 120 May 21 10:06 /dev/vboxnetctl /dev/vboxusb: total 0 drwxr-x--- 2 root vboxusers 120 May 22 06:53 001 drwxr-x--- 2 root vboxusers 80 May 21 10:06 002 user1@LLR1:~> Fix has been installed for LEAP 15.5 with zypper up. USB devices are accessable. I have installed openSUSE-2024-134 and I can confirm that this bug is now fixed. Thanks Larry! |