Linux VM Error with VirtualBox Guest Additions v5.2.6

Discussions about using Linux guests in VirtualBox.

Linux VM Error with VirtualBox Guest Additions v5.2.6

Postby dalio » 13. Mar 2018, 17:23

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   Expand viewCollapse view
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   Expand viewCollapse view
    # 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   Expand viewCollapse view
chcon: can't apply partial context to unlabeled file /usr/lib64/VBoxGuestAdditions/mount.vboxsf

/var/log/vboxadd-install.log
Code: Select all   Expand viewCollapse view
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

Postby dalio » 23. Mar 2018, 13:19

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
dalio
 
Posts: 3
Joined: 7. Dec 2017, 15:01

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

Postby aperis » 14. Jun 2019, 18:25

I fixed it adding the following line to /var/lib/VBoxGuestAdditions/config :
LOG="/var/log/vboxadd-setup.log"
aperis
 
Posts: 1
Joined: 14. Jun 2019, 18:23


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 9 guests