[Pkg-virtualbox-commits] r385 - in virtualbox-ose/trunk/debian: . virtualbox-ose.files
meskes at alioth.debian.org
meskes at alioth.debian.org
Sun Nov 23 16:14:04 UTC 2008
Author: meskes
Date: 2008-11-23 16:14:04 +0000 (Sun, 23 Nov 2008)
New Revision: 385
Modified:
virtualbox-ose/trunk/debian/rules
virtualbox-ose/trunk/debian/virtualbox-ose.files/VBox.sh
Log:
Version 2 is security hardened and needs some binaries to be suid root. On the
other hand it appears we don't have to be in group vboxusers anymore to run a
VM.
Modified: virtualbox-ose/trunk/debian/rules
===================================================================
--- virtualbox-ose/trunk/debian/rules 2008-11-23 15:46:11 UTC (rev 384)
+++ virtualbox-ose/trunk/debian/rules 2008-11-23 16:14:04 UTC (rev 385)
@@ -123,6 +123,10 @@
dh_link -s
dh_compress -s
dh_fixperms -s
+ chmod +s debian/$(sname)/usr/lib/virtualbox/VirtualBox
+ chmod +s debian/$(sname)/usr/lib/virtualbox/VBoxSDL
+ chmod +s debian/$(sname)/usr/lib/virtualbox/VBoxBFE
+ chmod +s debian/$(sname)/usr/lib/virtualbox/VBoxHeadless
dh_installudev -s
dh_installdebconf -s
dh_installinit -s
Modified: virtualbox-ose/trunk/debian/virtualbox-ose.files/VBox.sh
===================================================================
--- virtualbox-ose/trunk/debian/virtualbox-ose.files/VBox.sh 2008-11-23 15:46:11 UTC (rev 384)
+++ virtualbox-ose/trunk/debian/virtualbox-ose.files/VBox.sh 2008-11-23 16:14:04 UTC (rev 385)
@@ -50,23 +50,6 @@
You will not be able to start VMs until this problem is fixed.
EOF
-elif [ ! -w /dev/vboxdrv ]; then
- if [ "`id | grep vboxusers`" = "" ]; then
- cat << EOF
-WARNING: You are not a member of the "vboxusers" group. Please add yourself
- to this group before starting VirtualBox.
-
- You will not be able to start VMs until this problem is fixed.
-EOF
- else
- cat << EOF
-WARNING: /dev/vboxdrv not writable for some reason. If you recently added the
- current user to the vboxusers group then you have to logout and
- re-login to take the change effect.
-
- You will not be able to start VMs until this problem is fixed.
-EOF
- fi
fi
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$INSTALL_DIR"
More information about the Pkg-virtualbox-commits
mailing list