From f9ef7c6a802a4df1586fc708e9aaeba35c126336a74966f1ee19b77a9f06ef21 Mon Sep 17 00:00:00 2001 From: Michal Seben Date: Mon, 8 Sep 2014 10:33:13 +0000 Subject: [PATCH] Accepting request 247997 from home:mseben:branches:Virtualization modify hint message in virtualbox-60-vboxdrv.rules, so udev rules will stay enabled also after package update OBS-URL: https://build.opensuse.org/request/show/247997 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=166 --- virtualbox-60-vboxdrv.rules | 10 ++++++---- virtualbox.changes | 6 ++++++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/virtualbox-60-vboxdrv.rules b/virtualbox-60-vboxdrv.rules index 003914d..358f0a8 100644 --- a/virtualbox-60-vboxdrv.rules +++ b/virtualbox-60-vboxdrv.rules @@ -1,6 +1,8 @@ KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600" +# #these lines below give access permission to vboxusers to properly work with usb nodes, but enabling them could be security risk (bnc#664520) !! -#SUBSYSTEM=="usb_device", ACTION=="add", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers" -#SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers" -#SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="VBoxCreateUSBNode.sh --remove $major $minor" -#SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="VBoxCreateUSBNode.sh --remove $major $minor" +#if you can live with this security problem put these lines below in to the new file /etc/udev/rules.d/60-vboxdrv.rules so they will stay enabled also after package update +#SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/lib/udev/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers" +#SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/udev/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers" +#SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/usr/lib/udev/VBoxCreateUSBNode.sh --remove $major $minor" +#SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/udev/VBoxCreateUSBNode.sh --remove $major $minor" diff --git a/virtualbox.changes b/virtualbox.changes index b98ffa1..f00fc7b 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Sep 8 10:16:53 UTC 2014 - mseben@gmail.com + +- modify hint message in virtualbox-60-vboxdrv.rules, so udev rules + will stay enabled also after package update + ------------------------------------------------------------------- Tue Aug 5 14:12:43 UTC 2014 - wbauer@tmo.at