VirtualBox

Changeset 98565 in vbox


Ignore:
Timestamp:
Feb 14, 2023 3:37:37 PM (22 months ago)
Author:
vboxsync
Message:

Linux: rcvboxdrv: Allow to bypass forced kernel modules signature validation, bugref:10287.

Added a tweak which allows to bypass modules signature validation for distributions
which do not provide tools for that. Administrator should explicitly add:

VBOX_BYPASS_MODULES_SIGNATURE_CHECK="1"

into /etc/vbox/vbox.cfg in order to enable this tweak.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/vboxdrv.sh

    r98103 r98565  
    388388    mod="$1"
    389389    [ -n "$mod" ] || return
     390
     391    # Be nice with distributions which do not provide tools which we
     392    # use in order to verify module signature. This variable needs to
     393    # be explicitly set by administrator. This script will look for it
     394    # in /etc/vbox/vbox.cfg. Make sure that you know what you do!
     395    if [ "$VBOX_BYPASS_MODULES_SIGNATURE_CHECK" = "1" ]; then
     396        echo "1"
     397        return
     398    fi
    390399
    391400    extraction_tool=/lib/modules/"$(uname -r)"/build/scripts/extract-module-sig.pl
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