Page 1 of 1

[Fixed] Fedora 30 Guest Additions and libcrypt.so (#18682)

Posted: 1. May 2019, 22:21
by Apostolos

ModEdit; related ticket: #18682: libcrypt legacy usage by vboxadd-service in Fedora 30
I am using Virtualbox 6.0.6 on a Windows 10 host and noticed that the Guest additions do not work on Fedora 30
Looking around, I saw the following

Code: Select all

# systemctl status vboxadd-service.service
● vboxadd-service.service
   Loaded: loaded (/opt/VBoxGuestAdditions-6.0.6/init/vboxadd-service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2019-05-01 22:36:53 EEST; 14min ago
  Process: 23712 ExecStart=/opt/VBoxGuestAdditions-6.0.6/init/vboxadd-service start (code=exited, status=1/FAILURE)

May 01 22:36:53 10.0.2.15 systemd[1]: Starting vboxadd-service.service...
May 01 22:36:53 10.0.2.15 vboxadd-service[23712]: vboxadd-service.sh: Starting VirtualBox Guest Addition service.
May 01 22:36:53 10.0.2.15 vboxadd-service.sh[23715]: Starting VirtualBox Guest Addition service.
May 01 22:36:53 10.0.2.15 vboxadd-service[23712]: /usr/sbin/VBoxService: /lib64/libcrypt.so.1: version `GLIBC_2.2.5' not found (required b>
May 01 22:36:53 10.0.2.15 vboxadd-service.sh[23719]: VirtualBox Guest Addition service started.
May 01 22:36:53 10.0.2.15 systemd[1]: vboxadd-service.service: Control process exited, code=exited, status=1/FAILURE
May 01 22:36:53 10.0.2.15 systemd[1]: vboxadd-service.service: Failed with result 'exit-code'.
May 01 22:36:53 10.0.2.15 systemd[1]: Failed to start vboxadd-service.service.
Fedora 30 has rpm package libxcrypt-4.4.4-2.fc30.x86_64 which provides /lib64/libcrypt.so.2 (not libcrypt.so.1)

Code: Select all

# ldd -v /opt/VBoxGuestAdditions-6.0.6/sbin/VBoxService |grep libcrypt
        libcrypt.so.1 => not found
                libcrypt.so.1 (GLIBC_2.2.5) => not found
Probably fedora 29 had an earlier version of libxcrypt, providing the missing library file

Any tips on how to work around this issue ?

Re: Fedora 30 Guest Additions and libcrypt.so

Posted: 1. May 2019, 22:41
by socratis
Απόστολε,
I split your post from the "Discuss the 6.0.6 release", as this isn't an issue specific to the 6.0.6 release, it's an issue specific to F30. Looking at the release dates:
  • VirtualBox 6.0.6  : 2019-04-16
    Fedora 30         : 2019-04-29
That's two weeks later for F30 after the last VirtualBox release. I wouldn't expect VirtualBox 6.0.6 to be ready for any minor adjustments needed for F30. If you want to use the latest version for your host/guests, you should also consider doing the same for VirtualBox. Try the latest test builds or wait for the 6.0.8 release.

Don't ask when that will be... ;)

Re: Fedora 30 Guest Additions and libcrypt.so

Posted: 1. May 2019, 23:14
by Apostolos
Thank you Sokratis for relocating my post

The cause is indeed a change in libcrypt as described in F30 changelog
As a workaround, I installed libxcrypt-compat and the guest additions are working correctly now.

Re: Fedora 30 Guest Additions and libcrypt.so

Posted: 2. May 2019, 00:58
by socratis
Apostolos wrote:As a workaround, I installed libxcrypt-compat and the guest additions are working correctly now.
Oh, that's great Apostole! 8)

Thank you for the solution, hope someone finds it useful, until a proper one comes along. Marking as [Resolved].

Re: [Resolved] Fedora 30 Guest Additions and libcrypt.so

Posted: 4. May 2019, 20:48
by maroz
Thanks Apostolos and socratis that was most helpful.

Re: [Resolved] Fedora 30 Guest Additions and libcrypt.so

Posted: 12. May 2019, 20:42
by jrc55
Does anyone know if a fix for this has been put into a test build? If so I'd use it to try an upgrade my Fedora 29.

Thanks.

Re: [Resolved] Fedora 30 Guest Additions and libcrypt.so

Posted: 16. Jul 2019, 19:45
by socratis
Fixed with VirtualBox 6.0.10, please try it and confirm.