VirtualBox

Opened 13 months ago

Last modified 13 months ago

#21614 new defect

upgrading VBGA to 4.0.8 failing on headless Fedora 38 VM => fixed in svn

Reported by: woody_ Owned by:
Component: guest additions Version: VirtualBox-7.0.8
Keywords: Cc:
Guest type: Linux Host type: Windows

Description (last modified by galitsyn)

Fedora 37/38 server (headless) it failed under Fedora 37. After it failed I reverted the snap and upgraded the VM to Fedora 38.

VM is current with Fedora updates and VBGA 7.0.6. Upgrade of VBGA to 7.0.8 fails particularly when it tries to restart the modules.

pertinent info

$ systemctl status vbox*

× vboxadd.service
     Loaded: loaded (/opt/VBoxGuestAdditions-7.0.8/init/vboxadd; enabled; preset: disabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
     Active: failed (Result: timeout) since Mon 2023-04-24 21:38:57 EDT; 23min ago
    Process: 731 ExecStart=/opt/VBoxGuestAdditions-7.0.8/init/vboxadd start (code=killed, signal=TERM)
   Main PID: 731 (code=killed, signal=TERM)
        CPU: 2min 30.677s

Apr 24 21:36:12 wiley.acme.net vboxadd[12557]: ValueError: File context for /opt/VBoxGuestAdditions-7.0.8/other/mount.vboxsf already defined
Apr 24 21:36:12 wiley.acme.net vboxadd[12564]: VirtualBox Guest Additions: Running kernel modules will not be replaced until
Apr 24 21:36:12 wiley.acme.net vboxadd[12564]: the system is restarted or 'rcvboxadd reload' triggered
Apr 24 21:36:12 wiley.acme.net vboxadd[731]: VirtualBox Guest Additions: reloading kernel modules and services
Apr 24 21:38:57 wiley.acme.net systemd[1]: vboxadd.service: start operation timed out. Terminating.
Apr 24 21:38:57 wiley.acme.net systemd[1]: vboxadd.service: Main process exited, code=killed, status=15/TERM
Apr 24 21:38:57 wiley.acme.net systemd[1]: vboxadd.service: Failed with result 'timeout'.
Apr 24 21:38:57 wiley.acme.net systemd[1]: vboxadd.service: Unit process 12994 (systemctl) remains running after unit stopped.
Apr 24 21:38:57 wiley.acme.net systemd[1]: Failed to start vboxadd.service.
Apr 24 21:38:57 wiley.acme.net systemd[1]: vboxadd.service: Consumed 2min 30.676s CPU time.


$ cat /var/log/vboxadd-install.log

/opt/VBoxGuestAdditions-7.0.8/bin/VBoxClient: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
/opt/VBoxGuestAdditions-7.0.8/bin/VBoxClient: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Setting up modules
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules.  This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel
6.2.11-300.fc38.x86_64.
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
VirtualBox Guest Additions: Running kernel modules will not be replaced until
the system is restarted or 'rcvboxadd reload' triggered
VirtualBox Guest Additions: reloading kernel modules and services
currently loaded module vboxguest version (7.0.8 r156879) does not match to VirtualBox Guest Additions installation version (unknown unknown)
The log file /var/log/vboxadd-setup.log may contain further information.

cat /var/log/vboxadd-setup.log

Building the main Guest Additions 7.0.8 module for kernel 6.2.11-300.fc38.x86_64.
Building the shared folder support module.
Building the graphics driver module.
Could not find the X.Org or XFree86 Window System, skipping.

$ cat vboxadd-uninstall.log

/opt/VBoxGuestAdditions-7.0.6/bin/VBoxClient: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
/opt/VBoxGuestAdditions-7.0.6/bin/VBoxClient: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /

Change History (7)

comment:1 by galitsyn, 13 months ago

Description: modified (diff)

comment:2 by galitsyn, 13 months ago

Hi woody_,

We have improvements in this area on the development branch. Could you please try Guest Additions ISO from "Development snapshots" at https://www.virtualbox.org/wiki/Testbuilds? Revision r157002 and newer should have this issue fixed.

comment:3 by woody_, 13 months ago

Hello, thanks for the suggestion. I upgraded to the 7.0.9 test build and attempted to upgrade the VBGAs from 7.0.6 to 7.0.9 and same result.

Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing VirtualBox 7.0.9 Guest Additions for Linux  100%
VirtualBox Guest Additions installer
Removing installed version 7.0.6 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
/opt/VBoxGuestAdditions-7.0.9/bin/VBoxClient: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
/opt/VBoxGuestAdditions-7.0.9/bin/VBoxClient: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Setting up modules
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules.  This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel
6.2.12-300.fc38.x86_64.
grep: warning: stray \ before /
grep: warning: stray \ before /
grep: warning: stray \ before /
VirtualBox Guest Additions: Running kernel modules will not be replaced until
the system is restarted or 'rcvboxadd reload' triggered
VirtualBox Guest Additions: reloading kernel modules and services
currently loaded module vboxguest version (7.0.9 r156986) does not match to VirtualBox Guest Additions installation version (unknown unknown)
The log file /var/log/vboxadd-setup.log may contain further information.
Last edited 13 months ago by galitsyn (previous) (diff)

comment:4 by galitsyn, 13 months ago

Hi woody_,

Changes I mentioned are not yet on the "Latest 7.0.x test builds", but rather on "Development snapshots". You will need version 7.0.97.

comment:5 by woody_, 13 months ago

copy that, I'll give it a go today and report back

comment:6 by woody_, 13 months ago

upgraded to 7.0.97 and was able to upgrade all linux VBGAs 7.0.97 without issue. Also noticed the VBGA service now loads much faster, appreciate the improvements

all good here, thanks for the help.

comment:7 by galitsyn, 13 months ago

Summary: upgrading VBGA to 4.0.8 failing on headless Fedora 38 VMupgrading VBGA to 4.0.8 failing on headless Fedora 38 VM => fixed in svn

Thank you for the confirmation. Fixes will be included into the next maintenance release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use