Virtualbox should check for root when building dkms modules

Bug #999239 reported by Nadav on 2012-05-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
virtualbox (Ubuntu)
Undecided
Unassigned

Bug Description

dkms should probably make sure you are root

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: virtualbox-dkms 4.1.12-dfsg-2
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
DKMSKernelVersion: 3.2.0-24-generic
Date: Mon May 14 20:36:41 2012
PackageArchitecture: all
PackageVersion: 4.1.12-dfsg-2
SourcePackage: virtualbox
Title: virtualbox-dkms 4.1.12-dfsg-2: virtualbox kernel module failed to build
UpgradeStatus: Upgraded to precise on 2012-04-27 (17 days ago)
VirtualBox.ModInfo:

Nadav (nadav-shemer) wrote :
Felix Geyer (debfx) wrote :

What exactly is the problem?

Packages are always installed as the root user.

Changed in virtualbox (Ubuntu):
status: New → Incomplete
Nadav (nadav-shemer) wrote :

Upon running virtualbox, I was informed that virtualbox-ose-dkms was not installed. I installed it with sudo apt-get, and encountered the same message again.

I ran the command 'dkms build virtualbox/4.1.12'
* Is there a GUI way to performs this action? I could not find it
* Was this action supposed to have occurred automatically upon 'apt-get install virtualbox-ose-dkms'? That did not happen

As the bug report suggests, I ran it as a non-root user and was momentarily confused by the error messages

Perhaps this is a symptom of a bug in the virtualbox-ose-dkms installation?

(After running 'dkms build virtualbox/4.1.12' and 'dkms install virtualbox/4.1.12' as root, I was able to start the virtualbox service and use virtualbox.)

Nadav (nadav-shemer) on 2012-05-14
Changed in virtualbox (Ubuntu):
status: Incomplete → New
Nadav (nadav-shemer) on 2012-05-15
Changed in virtualbox (Ubuntu):
status: New → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for virtualbox (Ubuntu) because there has been no activity for 60 days.]

Changed in virtualbox (Ubuntu):
status: Incomplete → Expired
Nadav (nadav-shemer) on 2012-07-15
Changed in virtualbox (Ubuntu):
status: Expired → New
Ken Sharp (kennybobs) on 2013-11-28
summary: - dkms build virtualbox creates a lot of noise when run as non-root
+ Virtualbox should check for root when building dkms modules
Changed in virtualbox (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers