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

Discussions about using Linux guests in VirtualBox.

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

Postby Apostolos » 1. May 2019, 22:21


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   Expand viewCollapse view
# 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   Expand viewCollapse view
# 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].
Apostolos
 
Posts: 2
Joined: 1. May 2019, 21:45

Re: Fedora 30 Guest Additions and libcrypt.so

Postby socratis » 1. May 2019, 22:41

Απόστολε,
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... ;)
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25936
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Fedora 30 Guest Additions and libcrypt.so

Postby Apostolos » 1. May 2019, 23:14

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.
Apostolos
 
Posts: 2
Joined: 1. May 2019, 21:45

Re: Fedora 30 Guest Additions and libcrypt.so

Postby socratis » 2. May 2019, 00:58

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].
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25936
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

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

Postby maroz » 4. May 2019, 20:48

Thanks Apostolos and socratis that was most helpful.
maroz
 
Posts: 4
Joined: 4. Mar 2019, 23:32

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

Postby jrc55 » 12. May 2019, 20:42

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.
jrc55
 
Posts: 60
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

Postby socratis » 16. Jul 2019, 19:45

Fixed with VirtualBox 6.0.10, please try it and confirm.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25936
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 7 guests