Changeset 77049 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Jan 30, 2019 5:06:07 PM (6 years ago)
- Location:
- trunk/src/VBox/Additions/linux/installer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/vboxadd-x11.sh
r76553 r77049 167 167 semanage fcontext -a -t lib_t "/var/lib/VBoxGuestAdditions/lib/libGL.so.1" 168 168 fi 169 chcon -h -t lib_t "/var/lib/VBoxGuestAdditions/lib/libGL.so.1" 169 # This is needed on old Fedora/Redhat systems. No one remembers which. 170 chcon -h -t lib_t "/var/lib/VBoxGuestAdditions/lib/libGL.so.1" 2>/dev/null 170 171 fi 171 172 echo "/var/lib/VBoxGuestAdditions/lib" > /etc/ld.so.conf.d/00vboxvideo.conf … … 465 466 case "$redhat_release" in 466 467 Fedora\ release\ 8* ) 467 chcon -u system_u -t lib_t "${lib_dir}"/*.so 468 chcon -u system_u -t lib_t "${lib_dir}"/*.so 2>/dev/null 468 469 ;; 469 470 esac … … 472 473 # needs a rule to allow this. Send all output to /dev/null in case this is 473 474 # completely irrelevant on the target system. 475 # chcon is needed on old Fedora/Redhat systems. No one remembers which. 474 476 chcon -t unconfined_execmem_exec_t '/usr/bin/VBoxClient' > /dev/null 2>&1 475 477 semanage fcontext -a -t unconfined_execmem_exec_t '/usr/bin/VBoxClient' > /dev/null 2>&1 -
trunk/src/VBox/Additions/linux/installer/vboxadd.sh
r76984 r77049 475 475 command -v semanage > /dev/null && 476 476 semanage fcontext -a -t mount_exec_t "${INSTALL_DIR}/other/mount.vboxsf" 477 chcon -t mount_exec_t "${INSTALL_DIR}/other/mount.vboxsf" 477 chcon -t mount_exec_t "${INSTALL_DIR}/other/mount.vboxsf" 2>/dev/null 478 478 fi 479 479 } … … 489 489 MODULE_SRC="$INSTALL_DIR/src/vboxguest-$INSTALL_VER" 490 490 BUILDINTMP="$MODULE_SRC/build_in_tmp" 491 # chcon is needed on old Fedora/Redhat systems. No one remembers which. 491 492 test ! -e /etc/selinux/config || 492 chcon -t bin_t "$BUILDINTMP" 493 chcon -t bin_t "$BUILDINTMP" 2>/dev/null 493 494 494 495 if test -z "$INSTALL_NO_MODULE_BUILDS"; then
Note:
See TracChangeset
for help on using the changeset viewer.