[Pkg-virtualbox-commits] r51 - trunk/debian

meskes at alioth.debian.org meskes at alioth.debian.org
Sun Sep 23 11:58:26 UTC 2007


Author: meskes
Date: 2007-09-23 11:58:26 +0000 (Sun, 23 Sep 2007)
New Revision: 51

Modified:
   trunk/debian/changelog
   trunk/debian/virtualbox-ose.postinst
Log:
Add a call to udevcontrol to postinst so the rules get reloaded even on kernels without inotify.
Hopefully this makes sure that the device is owned by the right group.



Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-09-23 10:37:47 UTC (rev 50)
+++ trunk/debian/changelog	2007-09-23 11:58:26 UTC (rev 51)
@@ -1,5 +1,6 @@
 virtualbox-ose (1.5.0-dfsg2-2) unstable; urgency=low
 
+  [ Patrick Winnertz ]
   * Added README.Debian to virtualbox-ose in order to document that the
     configuration xml files of the machines are not compatible between
     1.4.0-svn4130 and the 1.5.0 release. (Closes: #441634)
@@ -8,8 +9,12 @@
   * Added postrm to virtualbox-ose in order to remove the vboxusers group on
     purge. (Closes: #442396)
 
- -- Patrick Winnertz <patrick.winnertz at skolelinux.org>  Wed, 19 Sep 2007 23:37:16 +0200
+  [ Michael Meskes ]
+  * Force udev to reload the rules in postinst. Hopefully this makes sure that
+    the device always belongs to the right group.
 
+ -- Michael Meskes <meskes at debian.org>  Sun, 23 Sep 2007 13:55:37 +0200
+
 virtualbox-ose (1.5.0-dfsg2-1) unstable; urgency=low
 
   * Improved README.Debian for virtualbox-ose-source (Closes: #440793 )

Modified: trunk/debian/virtualbox-ose.postinst
===================================================================
--- trunk/debian/virtualbox-ose.postinst	2007-09-23 10:37:47 UTC (rev 50)
+++ trunk/debian/virtualbox-ose.postinst	2007-09-23 11:58:26 UTC (rev 51)
@@ -17,6 +17,11 @@
 
 setup_vboxusers_group
 
+# just in case the system is running without inotify tell udev to reload the rules
+if [ -x /sbin/udevcontrol ]; then
+	/sbin/udevcontrol reload_rules || true;
+fi
+
 #DEBHELPER#
 
 exit 0




More information about the Pkg-virtualbox-commits mailing list