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

Discussions about using Linux guests in VirtualBox.
Post Reply
Apostolos
Posts: 2
Joined: 1. May 2019, 21:45

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

Post 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 ?
Last edited by socratis on 16. Jul 2019, 19:47, edited 2 times in total.
Reason: Marked as [Fixed].
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Fedora 30 Guest Additions and libcrypt.so

Post 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... ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Apostolos
Posts: 2
Joined: 1. May 2019, 21:45

Re: Fedora 30 Guest Additions and libcrypt.so

Post 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.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Fedora 30 Guest Additions and libcrypt.so

Post 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].
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
maroz
Posts: 4
Joined: 4. Mar 2019, 23:32

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

Post by maroz »

Thanks Apostolos and socratis that was most helpful.
jrc55
Posts: 62
Joined: 7. Jan 2012, 20:36
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: winxp, fedora16

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

Post 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.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

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

Post by socratis »

Fixed with VirtualBox 6.0.10, please try it and confirm.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply