VirtualBox

Ignore:
Timestamp:
May 16, 2011 1:59:49 PM (14 years ago)
Author:
vboxsync
Message:

Additions/linux/installer: first attempt to get SELinux right for GNOME Shell on Fedora 15

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/installer/vboxadd.sh

    r36948 r37104  
    458458    # Put mount.vboxsf in the right place
    459459    ln -sf "$lib_path/$PACKAGE/mount.vboxsf" /sbin
    460     # At least Fedora 11 and Fedora 12 demand on the correct security context when
    461     # executing this command from service scripts. Shouldn't hurt for other distributions.
     460    # At least Fedora 11 and Fedora 12 require the correct security context when
     461    # executing this command from service scripts. Shouldn't hurt for other
     462    # distributions.
    462463    chcon -u system_u -t mount_exec_t "$lib_path/$PACKAGE/mount.vboxsf" > /dev/null 2>&1
     464    # And at least Fedora 15 needs this for the acceleration support check to
     465    # work
     466    redhat_release=`cat /etc/redhat-release 2> /dev/null`
     467    case "$redhat_release" in Fedora\ release\ 15* )
     468        for i in "$lib_path"/*.so
     469        do
     470            restorecon "$i" >/dev/null
     471        done
     472        ;;
     473    esac
    463474
    464475    succ_msg
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