File: ts_rebuild-modules-guest.dita

package info (click to toggle)
virtualbox 7.2.2-dfsg-2
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 616,072 kB
  • sloc: cpp: 2,377,613; ansic: 2,351,258; asm: 379,359; python: 233,965; xml: 89,678; sh: 25,697; makefile: 8,169; perl: 5,697; java: 5,337; cs: 4,872; pascal: 1,785; javascript: 1,692; objc: 1,131; lex: 931; sed: 921; php: 906; yacc: 707
file content (23 lines) | stat: -rw-r--r-- 1,368 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="ts-rebuild-modules-guest">
    <title>Repeated Rebuild of Kernel Modules on Reboot of Guest</title>
    <body>
        <dl>
            <dlentry>
                <dt>Details</dt>
                <dd>
                    <p>Some Linux distributions, for example Debian, do not provide tools that VirtualBox Guest Additions uses to verify kernel module signatures. If VirtualBox Guest Additions can't verify a module's signature, they will attempt to rebuild the kernel module on system boot. This can cause boot delays and the need to re-sign modules every time the VM is rebooted.</p>
                </dd>
            </dlentry>
            <dlentry>
                <dt>Workaround</dt>
                <dd>
                    <p>On the VM, create a file <filepath>/etc/virtualbox-guest-additions.conf</filepath>, with the content <codeblock>VBOX_BYPASS_MODULES_SIGNATURE_CHECK=1</codeblock></p>
                    <p>This tells VirtualBox Guest Additions not to check signatures on boot, but to load the modules and leave it to the kernel to check module signatures.</p>
                    <p>If you set the variable to any value other than 1, it has no effect.</p>
                </dd>
            </dlentry>
        </dl>
    </body>
</topic>