LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-28-2022, 11:43 AM   #1
gda
Member
 
Registered: Oct 2015
Posts: 130

Rep: Reputation: 27
Upgrade openssl lib on slackware 14.2


Hi all,

I have several production servers running Slackware 14.2. To my knowledge the latest security upgrade Slackware provided for the openssl libs is the one corresponding to the version 1.0.2u. Currently this openssl version is quite old as (released on December 2019) and in the meanwhile several security issues have been addressed in more recent versions.

Is there an easy (and safe!) way to upgrade to the latest 1.0.2 version (in particular the 1.0.2zf released on June 2022)? I'm a little bit afraid to upgrade using a not standard package because these libs are deeply used by the OS as well...

Of course one solution could be to upgrade to Slackware 15 but for several reasons (mainly lack of time and the high number of servers) this is not a valid option for me.

Any suggestion is really welcome!

Thanks a lot!
 
Old 09-28-2022, 11:54 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,144

Rep: Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212
I suppose you can rebuild the latest 1.0.2 version using the SlackBuild in /patches, but be aware that 1.0.2zf sources are not generally available (only if you pay premium support).

Last edited by ponce; 09-28-2022 at 11:55 AM.
 
Old 09-28-2022, 11:59 AM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,504

Rep: Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377
Probably your best way would be to compile source against existing dependencies. I did that for one of the 'sudden-update-required' versions. It's an easy enough job. If you have a pile of 14.2 servers, make the package and spread it around.

Slackbuilds.org may also have a slackbuild for 14.2, which may be some use. I did it by hand.
 
Old 09-28-2022, 01:08 PM   #4
gda
Member
 
Registered: Oct 2015
Posts: 130

Original Poster
Rep: Reputation: 27
Thanks for the fast and useful replies.

Actually I didn't notice that all the openssl versions after the 1.0.2u are available only for premium users! That's explain why Slackware did not provide upgrades after this version...

So it seems that my only chance (without paying) is to perform a major upgrade to version 1.1.1 which sounds a quite dangerous things to do...

The suggested solution to compile source against the dipendencies in this case can be quite laborious as the openssl dependencies are quite a lot (and I guess this is the reason why there are no slackbuild available)

Is this really the only option I have? What you suggest to do?
 
Old 09-28-2022, 01:34 PM   #5
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,144

Rep: Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212
Quote:
Originally Posted by gda View Post
So it seems that my only chance (without paying) is to perform a major upgrade to version 1.1.1 which sounds a quite dangerous things to do...

The suggested solution to compile source against the dipendencies in this case can be quite laborious as the openssl dependencies are quite a lot (and I guess this is the reason why there are no slackbuild available)

Is this really the only option I have? What you suggest to do?
IMHO that's not an option as you have to rebuild (and possibily upgrade) so many things that you will get into a neverending rabbit hole.

the only viable options, IMHO, are:
- upgrade your existing installations to 15.0;
- migrate your services on fresh installs of 15.0.

here I followed (gradually) the second one, as it's cleaner (also on the long run).
 
Old 09-29-2022, 02:59 AM   #6
gda
Member
 
Registered: Oct 2015
Posts: 130

Original Poster
Rep: Reputation: 27
Thanks ponce... basically you confirmed all my doubts regarding this upgrade. Migrating to a fresh system running Slackware 15.0 is for sure the best option but it could cost a lot of efforts especially if you have highly customized services to migrate... Anyway (unfortunately!) it seems the only way to go...
 
Old 09-29-2022, 06:16 AM   #7
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,764

Rep: Reputation: Disabled
I've moved one slackware64-14.2 to openssl-1.1 before, but it's still using both 1.0 and 1.1 internally.
It's because I didn't want to recompile all linked packages, only the few packages that will benefit me.
So, curl, wget, that sort of thing, it'll benefit from 1.1; but you'll have to compile these packages yourself.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does recursive mutex lock in openssl will affect other openssl users in same system? T.Selvan Linux - Networking 3 02-09-2016 12:59 AM
openssl: any simple examples no how to use openssl to do some decryption? eantoranz Programming 7 07-26-2012 07:57 PM
install of openssl-0.9.8b-8.3.el5 conflicts with file from package openssl-0.9.8b-8.3 jsaravana87 Linux - Server 1 09-26-2011 01:02 PM
oops openssl-0.9.8e over openssl-0.9.8d bad install now 2 copies? rcorkum Slackware 4 06-29-2007 01:58 AM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-28-2004 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration