Linux VM Error with VirtualBox Guest Additions v5.2.6

Discussions about using Linux guests in VirtualBox.
Post Reply
dalio
Posts: 3
Joined: 7. Dec 2017, 15:01

Linux VM Error with VirtualBox Guest Additions v5.2.6

Post by dalio »

Hello,

I upgraded the VirtualBox Guest Additions in my Linux VM (Linux v5.1.19.6) from v5.0.32 to v5.2.6. I am also using VBox Manager v 5.2.6. (Windows 10 Host - Linux Guest)

However, when I start the VM I noticed the following error is being logged in the boot log:

Code: Select all

Starting vboxadd: VirtualBox Guest Additions: Starting. [OK]
/etc/rec3.d/S10vboxadd: line 257: : No such file or directory
This error however doesn't seem to impact the system application though (no issues have been encountered so far at least).

Code in lines 256-257 from file S10vboxadd:

Code: Select all

    # Put the X.Org driver in place.  This is harmless if it is not needed.
    "${INSTALL_DIR}/init/vboxadd-x11" setup 2>> "${LOG}"
File vboxadd-x11 is present as follows:
/opt/VBoxGuestAdditions-5.2.6/init/vboxadd-x11

Checking the logs:

/var/log/VBoxGuestAdditions.log

Code: Select all

chcon: can't apply partial context to unlabeled file /usr/lib64/VBoxGuestAdditions/mount.vboxsf
/var/log/vboxadd-install.log

Code: Select all

groupadd: group vboxadd exists
chcon: can't apply partial context to unlabeled file /opt/VBoxGuestAdditions-5.2.6/other/mount.vboxsf
/etc/rc.d/init.d/vboxadd: line 257: : No such file or directory
Can someone advise what may be the cause of this issue and how to resolve/proceed?

Thanks.
dalio
Posts: 3
Joined: 7. Dec 2017, 15:01

Re: Linux VM Error with VirtualBox Guest Additions v5.2.6

Post by dalio »

I have also checked the Kernel headers and devel to make sure they are matching the kernel:

uname -a
Linux qa002 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

rpm -qa|grep kernel
kernel-2.6.18-164.el5
kernel-devel-2.6.18-164.el5
kernel-headers-2.6.18-164.el5
aperis
Posts: 1
Joined: 14. Jun 2019, 18:23

Re: Linux VM Error with VirtualBox Guest Additions v5.2.6

Post by aperis »

I fixed it adding the following line to /var/lib/VBoxGuestAdditions/config :
LOG="/var/log/vboxadd-setup.log"
Post Reply