VirtualBox

Changeset 48810 in vbox for trunk/src/VBox/Installer/linux


Ignore:
Timestamp:
Oct 2, 2013 8:48:34 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
89453
Message:

Linux installers: Move the udev rule execution order from 10 to 60. The reason for having it at 10 was to allow other rules to overwrite these rules, mainly permissions of the USB devices. This is not longer necessary (we are using /dev/vboxusb for a long time now) and we need to take care that certain systems like EL6 don't reset the permissions of /dev/vboxdrvu -- the unrestricted device -- back to 0600 (we want 0666 here).

Location:
trunk/src/VBox/Installer/linux
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/debian/prerm.in

    r44528 r48810  
    2020#  deconfigure:      (our version): removing conflicting version
    2121
    22 rm -f /etc/udev/rules.d/10-vboxdrv.rules
     22rm -f /etc/udev/rules.d/60-vboxdrv.rules
    2323rm -f /etc/vbox/license_agreed
    2424rm -f /etc/vbox/module_not_compiled
  • trunk/src/VBox/Installer/linux/installer-common.sh

    r47894 r48810  
    9090    fi
    9191    # Remove old udev description file
    92     rm -f /etc/udev/rules.d/60-vboxdrv.rules 2> /dev/null
     92    rm -f /etc/udev/rules.d/10-vboxdrv.rules 2> /dev/null
    9393}
    9494
     
    112112
    113113# install_device_node_setup contains some aliases for unit testing purposes.  # Set them to their normal values here.
    114 udev_rule_file=/etc/udev/rules.d/10-vboxdrv.rules # Set this to /dev/null
     114udev_rule_file=/etc/udev/rules.d/60-vboxdrv.rules # Set this to /dev/null
    115115                                                  # for unit testing
    116116sysfs_usb_devices="/sys/bus/usb/devices/*"
  • trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec

    r47894 r48810  
    400400  /sbin/chkconfig --del vboxdrv
    401401%endif
    402   rm -f /etc/udev/rules.d/10-vboxdrv.rules
     402  rm -f /etc/udev/rules.d/60-vboxdrv.rules
    403403  rm -f /etc/vbox/license_agreed
    404404  rm -f /etc/vbox/module_not_compiled
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette