View Issue Details

IDProjectCategoryView StatusLast Update
0005886SOGoPackaging (RedHat)public2023-10-13 16:33
ReporterPhilippe Assigned Toqhivert  
PrioritynormalSeverityblockReproducibilityalways
Status assignedResolutionopen 
Platform[Server] LinuxOSRHEL/CentOSOS Version7
Product Version5.9.0 
Summary0005886: sogod: error while loading shared libraries: libgnustep-base.so.1.24: cannot open shared object file: No such file or directory
Description

Sogo server can't start after attempting to upgrade from AlmaLinux(iRedMail) 8 to 9. As stated by Marco M. from the mail list, this may be due to a link issue with the proper library?

Oct 5 17:40:45 penmail systemd[1]: Starting SOGo is a groupware server...
Oct 5 17:40:45 penmail sogod[25080]: /usr/sbin/sogod: error while loading shared libraries: libgnustep-base.so.1.24: cannot open shared object file: No such file or directory
Oct 5 17:40:45 penmail systemd[1]: sogod.service: Control process exited, code=exited, status=127/n/a
Oct 5 17:40:45 penmail systemd[1]: sogod.service: Failed with result 'exit-code'.
Oct 5 17:40:45 penmail systemd[1]: Failed to start SOGo is a groupware server.

Additional information:
[root@penmail ~]# ldd -r /usr/sbin/sogod | grep gnustep
libgnustep-base.so.1.28 => /lib64/libgnustep-base.so.1.28 (0x00007f6218c00000)
libgnustep-base.so.1.24 => not found
libgnustep-base.so.1.24 => not found
libgnustep-base.so.1.24 => not found
libgnustep-base.so.1.24 => not found
libgnustep-base.so.1.24 => not found
libgnustep-base.so.1.24 => not found
[root@penmail ~]#
[root@penmail ~]# objdump -p /usr/sbin/sogod | grep NEEDED
NEEDED libSOGo.so.5
NEEDED libGDLContentStore.so.4.9
NEEDED libGDLAccess.so.4.9
NEEDED libWEExtensions.so.4.9
NEEDED libNGCards.so.4.9
NEEDED libNGObjWeb.so.4.9
NEEDED libNGMime.so.4.9
NEEDED libNGLdap.so.4.9
NEEDED libNGStreams.so.4.9
NEEDED libNGExtensions.so.4.9
NEEDED libEOControl.so.4.9
NEEDED libDOM.so.4.9
NEEDED libSaxObjC.so.4.9
NEEDED libgnustep-base.so.1.28
NEEDED libobjc.so.4
NEEDED libm.so.6
NEEDED libc.so.6
[root@penmail ~]#

Note: Not sure if I got the above category & profile right (not in the drop down selection)? this problem occurs on RHEL 9/AlmaLinux 9 distro and thank you to Quentin for updating my profile to reporter :)

Steps To Reproduce

I migrated AlmaLinux 8 to 9 using leapp. I was required during the migration to remove and reinstall SOGo, see additional information below why I was required to reinstall SOGo.

Additional Information

Unrelated to the above issue.

F.Y.I. If interested this is the fatal migration error that I got during the leapp execution. I do/did not know any other way of circumventing this problem without removing and reinstalling SOGo.

Risk Factor: high (inhibitor)
Title: Detected RPMs with RSA/SHA1 signature
Summary: Digital signatures using SHA-1 hash algorithm are no longer considered secure and are not allowed to be used on RHEL 9 systems by default. This causes issues when using DNF/RPM to handle packages with RSA/SHA1 signatures as the signature cannot be checked with the default cryptographic policy. Any such packages cannot be installed, removed, or replaced unless the signature check is disabled in dnf/rpm or SHA-1 is enabled using non-default crypto-policies. For more information see the following documents:

  • Major changes in RHEL 9: https://red.ht/rhel-9-overview-major-changes
  • Security Considerations in adopting RHEL 9: https://red.ht/rhel-9-security-considerations
    The list of problematic packages:
    • gnustep-base-libs (RSA/SHA1, Wed 04 Jan 2023 04:59:10 AM EST, Key ID f8a27b36a6e2eae9)
    • gnustep-base (RSA/SHA1, Wed 04 Jan 2023 04:59:09 AM EST, Key ID f8a27b36a6e2eae9)
      Remediation: [hint] It is recommended that you contact your package vendor and ask them for new new builds signed with supported signatures and install the new packages before the upgrade. If this is not possible you may instead remove the incompatible packages. Key: f16f40f49c2329a2691c0801b94d31b6b3d4f876
TagsNo tags attached.

Activities

qhivert

qhivert

2023-10-10 12:09

administrator   ~0017351

Last edited: 2023-10-10 12:50

Hello!
I've just test it on almaLinux 9 and it works. Here's the steps:

qhivert

qhivert

2023-10-10 12:10

administrator   ~0017352

Last edited: 2023-10-10 12:50

Maybe the trick is there is some requirements describe here: https://www.sogo.nu/files/docs/SOGoInstallationGuide.html#_software_downloads

Philippe

Philippe

2023-10-10 17:37

reporter   ~0017355

Hello qhiver,
Thank you for your help. The installation is configured as you suggested above and not working. I am at a complete lost. It is like if I had the wrong version of: /usr/sbin/sogod

This is what I installed:
[root@penmail ~]# dnf list sogo*
Last metadata expiration check: 0:21:16 ago on Tue 10 Oct 2023 12:57:16 PM EDT.
Installed Packages
sogo.x86_64 5.9.0.20231010-1.el9 @SOGo
sogo-activesync.x86_64 5.9.0.20231010-1.el9 @SOGo
sogo-ealarms-notify.x86_64 5.9.0.20231010-1.el9 @SOGo
sogo-tool.x86_64 5.9.0.20231010-1.el9 @SOGo
[root@penmail ~]#

And what ldd gives me:
[root@penmail ~]# ldd -r /usr/sbin/sogod | grep gnustep
libgnustep-base.so.1.28 => /lib64/libgnustep-base.so.1.28 (0x00007f8cfbc00000)
libgnustep-base.so.1.24 => not found
libgnustep-base.so.1.24 => not found
libgnustep-base.so.1.24 => not found
libgnustep-base.so.1.24 => not found
libgnustep-base.so.1.24 => not found
libgnustep-base.so.1.24 => not found

qhivert

qhivert

2023-10-11 07:41

administrator   ~0017357

Can you show me the dependies installed when you're installing sogo?
And then the result of dnf list gnustep* ?

Maybe there some residue of gnustep or applications that still use the 1.24 version on your server. If so, remove sogo then try yum remove gnustep-base

install.png (120,420 bytes)   
install.png (120,420 bytes)   
list.png (138,056 bytes)   
list.png (138,056 bytes)   
Philippe

Philippe

2023-10-11 13:45

reporter   ~0017367

available.png (10,439 bytes)   
available.png (10,439 bytes)   
before-update.png (11,802 bytes)   
before-update.png (11,802 bytes)   
sogoinstall.png (65,699 bytes)   
sogoinstall.png (65,699 bytes)   
dnflistldd.png (75,098 bytes)   
dnflistldd.png (75,098 bytes)   
qhivert

qhivert

2023-10-12 07:36

administrator   ~0017369

I'm wondering if the tree leftovers of gnustep are not the problems. I don't have them when removing sogo. Can you show me the content of the plist of one of them?

Then can you remove them and try sogo again?

Philippe

Philippe

2023-10-12 14:49

reporter   ~0017372

I removed both folder /usr/lib64/GNUstep/GDLAdaptors-4.9 & /usr/lib64/GNUstep/SaxDrivers-4.9,

I reinstalled SOGo, qhivert that was a good idea but no cigar, same problem. Content of the plist in the attachments.

GDLAdaptors-4.9.tar (184,320 bytes)
SaxDrivers-4.9.tar (440,320 bytes)
qhivert

qhivert

2023-10-12 15:21

administrator   ~0017373

Could you try it with a clean alma 9 server ?
For my test I've used AlmaLinux OS 9.2 Minimal ISO here https://almalinux.org/get-almalinux/

Just to check if it works like me when you do it

Philippe

Philippe

2023-10-13 16:33

reporter   ~0017379

@qhivert, yes it does work with a new install ...

Issue History

Date Modified Username Field Change
2023-10-09 14:52 Philippe New Issue
2023-10-10 12:09 qhivert Note Added: 0017351
2023-10-10 12:10 qhivert Note Added: 0017352
2023-10-10 12:10 qhivert Assigned To => qhivert
2023-10-10 12:10 qhivert Status new => feedback
2023-10-10 12:46 qhivert Note Edited: 0017351
2023-10-10 12:46 qhivert Note Edited: 0017351
2023-10-10 12:46 qhivert Note Edited: 0017351
2023-10-10 12:47 qhivert Note Edited: 0017351
2023-10-10 12:47 qhivert Note Edited: 0017351
2023-10-10 12:50 qhivert Note Edited: 0017351
2023-10-10 12:50 qhivert Note Edited: 0017352
2023-10-10 17:37 Philippe Note Added: 0017355
2023-10-10 17:37 Philippe Status feedback => assigned
2023-10-11 07:41 qhivert Note Added: 0017357
2023-10-11 07:41 qhivert File Added: install.png
2023-10-11 07:41 qhivert File Added: list.png
2023-10-11 07:41 qhivert Status assigned => feedback
2023-10-11 13:45 Philippe Note Added: 0017367
2023-10-11 13:45 Philippe File Added: available.png
2023-10-11 13:45 Philippe File Added: before-update.png
2023-10-11 13:45 Philippe File Added: sogoinstall.png
2023-10-11 13:45 Philippe File Added: dnflistldd.png
2023-10-11 13:45 Philippe Status feedback => assigned
2023-10-12 07:36 qhivert Note Added: 0017369
2023-10-12 07:36 qhivert Status assigned => feedback
2023-10-12 14:49 Philippe Note Added: 0017372
2023-10-12 14:49 Philippe File Added: GDLAdaptors-4.9.tar
2023-10-12 14:49 Philippe File Added: SaxDrivers-4.9.tar
2023-10-12 14:49 Philippe Status feedback => assigned
2023-10-12 15:21 qhivert Note Added: 0017373
2023-10-12 15:21 qhivert Status assigned => feedback
2023-10-13 16:33 Philippe Note Added: 0017379
2023-10-13 16:33 Philippe Status feedback => assigned