Your message dated Tue, 15 Jan 2019 21:21:29 +0000
with message-id <[email protected]>
and subject line Bug#916464: fixed in virtualbox 5.2.24-dfsg-1
has caused the Debian Bug report #916464,
regarding virtualbox-source: Failed to open "/dev/vboxdrvu", errno=13, 
rc=VERR_VM_DRIVER_NOT_ACCESSIBLE
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
916464: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916464
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: virtualbox-source
Version: 5.2.22-dfsg-1
Severity: normal
Tags: patch

Dear Maintainer,

When starting VirtualBox, the following message is printed repeatedly to
~/.config/VirtualBox/VBoxSVC.log:

    Failed to open "/dev/vboxdrvu", errno=13, rc=VERR_VM_DRIVER_NOT_ACCESSIBLE

>From a bit of cursory research, it appears /dev/vboxdrvu is used for
querying processor features by unprivileged processes.[1][2]  The
upstream init script creates a udev rule to set mode 0666.[3]  I have
attached a patch which assigns the same permissions (and adds vboxnetctl
with mode 0600 to match upstream).  If you would prefer a more
restrictive mode, I could resubmit with mode 0660 for group vboxusers.

Thanks for considering,
Kevin

1.  
https://www.virtualbox.org/browser/vbox/trunk/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp?rev=76226#L54
2.  https://www.virtualbox.org/ticket/12271#comment:2
3.  
https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Installer/linux/vboxdrv.sh?rev=76226#L139

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), 
LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages virtualbox-source depends on:
ii  build-essential   12.5
ii  bzip2             1.0.6-9
ii  debhelper         11.5.3
ii  kbuild            1:0.1.9998svn3149+dfsg-3
ii  module-assistant  0.11.10

Versions of packages virtualbox-source recommends:
ii  virtualbox  5.2.22-dfsg-1

virtualbox-source suggests no packages.

-- no debconf information
>From 9cd10f1d379447445184a0d07efe2033405da48c Mon Sep 17 00:00:00 2001
Message-Id: 
<9cd10f1d379447445184a0d07efe2033405da48c.1544809795.git.ke...@kevinlocke.name>
From: Kevin Locke <[email protected]>
Date: Fri, 14 Dec 2018 10:39:42 -0700
Subject: [PATCH] Add udev rules for vboxdrvu and vboxnetctl

These match the rules [created by the upstream init script][1].  In
particular, it creates vboxdrvu (the *user* device) with mode 0666 to
resolve the error:

    Failed to open "/dev/vboxdrvu", errno=13, rc=VERR_VM_DRIVER_NOT_ACCESSIBLE

Which is repeatedly printed to VBoxSVC.log.

[1]: 
https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Installer/linux/vboxdrv.sh?rev=76226#L139

Signed-off-by: Kevin Locke <[email protected]>
---
 debian/virtualbox-dkms.udev         | 2 ++
 debian/virtualbox-source.files/udev | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/debian/virtualbox-dkms.udev b/debian/virtualbox-dkms.udev
index a075da87f..865e460ea 100644
--- a/debian/virtualbox-dkms.udev
+++ b/debian/virtualbox-dkms.udev
@@ -1 +1,3 @@
 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"
diff --git a/debian/virtualbox-source.files/udev 
b/debian/virtualbox-source.files/udev
index a075da87f..865e460ea 100644
--- a/debian/virtualbox-source.files/udev
+++ b/debian/virtualbox-source.files/udev
@@ -1 +1,3 @@
 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"
-- 
2.19.2


--- End Message ---
--- Begin Message ---
Source: virtualbox
Source-Version: 5.2.24-dfsg-1

We believe that the bug you reported is fixed in the latest version of
virtualbox, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gianfranco Costamagna <[email protected]> (supplier of updated 
virtualbox package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 15 Jan 2019 22:07:39 +0100
Source: virtualbox
Binary: virtualbox-qt virtualbox virtualbox-dkms virtualbox-source 
virtualbox-guest-dkms virtualbox-guest-source virtualbox-guest-x11 
virtualbox-guest-utils
Architecture: source
Version: 5.2.24-dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Virtualbox Team <[email protected]>
Changed-By: Gianfranco Costamagna <[email protected]>
Description:
 virtualbox - x86 virtualization solution - base binaries
 virtualbox-dkms - x86 virtualization solution - kernel module sources for dkms
 virtualbox-guest-dkms - x86 virtualization solution - guest addition module 
source for dk
 virtualbox-guest-source - x86 virtualization solution - guest addition module 
source
 virtualbox-guest-utils - x86 virtualization solution - non-X11 guest utilities
 virtualbox-guest-x11 - x86 virtualization solution - X11 guest utilities
 virtualbox-qt - x86 virtualization solution - Qt based user interface
 virtualbox-source - x86 virtualization solution - kernel module source
Closes: 914165 916464
Launchpad-Bugs-Fixed: 1804048
Changes:
 virtualbox (5.2.24-dfsg-1) unstable; urgency=medium
 .
   [ Robert Edmonds <[email protected]> ]
   * Add rdesktop-vrdp package (Closes: #914165)
 .
   [ Kevin Locke ]
   * Add udev rules for vboxdrvu and vboxnetctl (Closes: #916464)
 .
   [ Gianfranco Costamagna ]
   * debian/patches/VBoxVNC.fix.patch: LP: #1804048
     - thanks AZ for the patch, that is now part of upstream codebase
   [ Gianfranco Costamagna ]
   * New upstream version 5.2.24-dfsg
   * Bump std-version to 4.3.0, no changes required
   * Bump copyright years
   * Bump more copyright years
   * Patch refresh, drop upstream patches:
     - 18-system-xorg, VBoxVNC.fix (has never been part of unstable)
   * Conflict with official vbox-5.2 packages
Checksums-Sha1:
 7c07343fa2fb242f330b0e28bdb5ea2d5db806c4 3646 virtualbox_5.2.24-dfsg-1.dsc
 3b1823f48434eabde9096e5a03a666ecd7874962 54812968 
virtualbox_5.2.24-dfsg.orig.tar.xz
 2b81aaeb86ac3d773cf500473ba0598d42c034e2 84748 
virtualbox_5.2.24-dfsg-1.debian.tar.xz
 78fdc887f3a31da035139b02bc6024cff09478b4 23238 
virtualbox_5.2.24-dfsg-1_source.buildinfo
Checksums-Sha256:
 e883863aa29789c05540d4b670aae9b4166146c86cd5410f3d7b76580d25002b 3646 
virtualbox_5.2.24-dfsg-1.dsc
 9072fdc89ac9a625a893183956316c75c71e86291cc7ed7226a1dddd2f340034 54812968 
virtualbox_5.2.24-dfsg.orig.tar.xz
 e24341da172e5c9e64d1f583784ae572363c0ad7326ef344889082471a86927c 84748 
virtualbox_5.2.24-dfsg-1.debian.tar.xz
 7827f6e8265673db9f9a9e3f52fcc76c82d4beadbfca2de806a169f08c2bc394 23238 
virtualbox_5.2.24-dfsg-1_source.buildinfo
Files:
 214ff807510d00de8d86d0e5f52733ca 3646 contrib/misc optional 
virtualbox_5.2.24-dfsg-1.dsc
 d8d68333cb39f0743a5e5137509cbdc7 54812968 contrib/misc optional 
virtualbox_5.2.24-dfsg.orig.tar.xz
 ff46186d43b3d3463a1869784708b8d5 84748 contrib/misc optional 
virtualbox_5.2.24-dfsg-1.debian.tar.xz
 f29edafb3c9112ee53b9cc3636d188ed 23238 contrib/misc optional 
virtualbox_5.2.24-dfsg-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAlw+THQACgkQ808JdE6f
XdmGsg/5AcdE1rtlX5kegjwO0CNWb0LvBlVPgK5hYRgrJKKpgx+ws+IIsKFvJcr1
kmUo6PdUhN/jzgme+hRU+lN7zymOpFSQubGNg6B0qNiGcY91qjvh5jU8Mjd48+jR
1LpW6H/hAMeSF6CUo2G2Tbthp8JBxJzMngVUAWl/8KSvWIvAeHR1C18q6bKeJmES
38C93yUGOhH6BUGgkR5EaYnfbRiNx2X/V/+tlEmGhXJaqfh4XziYj4I5oAbFX5Df
1Md0fRtm0VJdIofSzwyxvdF2Ex+nIhtlY6GwHDDrRoJv6LZgPhztzfwjr96Dvf3m
A52KJpOlo1W2KMWTHJ7bT5xyQ9E26xrw3PwjO8TqWxdlSHqp9QeifRAkyJp6FA0v
t7XrMZ5xUCl3+1ZAjSIdXefFtIhg4XBIO5YoYc9Okm3OLPv7aUtYnpCiJexrcmt4
SVWHUkGBVKO5FKs7Ze8qiH1smWLNnro6+Edf+718owQcuiWaL20Rk9X66f2hYnNO
VEnaJEAf2OZ0PI97EBZJBJ2UFor2JvRWrzjRSeXsqPvsIYHI/pbaV482Jz8QOVVS
00gKk5TUBVwrp5n8rp+yQwkgtV7bEPq+60xkBhtyrHa//+wUakALBvxiOY/oNRBI
hPlbiQfNnfaTXVO4p+R2i1VJ1ngRJF1riCpwnbnc36Sstewvb1U=
=I2f8
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to