[Linux-PowerEdge] RHEL 8.x dell-system-update RPM should include libssh2

Spike_White at Dell.com Spike_White at Dell.com
Sat Feb 22 18:56:58 CST 2020


This Bugzilla reports claims:

	libssh2 is removed from RHEL-8, see  bug #1513312 for details.  The package has actually never been supported in RHEL-8 beyond the virt module.

That is not quite true.  It is available in RHEL8.1, in the AppStream8.latest RHN channel.

$ yum list libssh2
Last metadata expiration check: 1 day, 8:22:57 ago on Fri 21 Feb 2020 10:27:24 AM CST.
Installed Packages
libssh2.x86_64                                                         1.8.0-8.module+el8.0.0+5339+ebcc8ca7.1                                                          @AppStream8.latest-patch
$

It is true however, that it's not in the base RHEL8 or AppStream8  yum repos that come with base RHEL 8.1.

It is pretty trivial to install it on RHEL 8.0 and 8.1.  
   1. Define the yum repo definition file for AppStream8.latest.  
   2. yum install libssh2.

So if the (RHEL8 version of) dell-system-update RPM requires it, it should list it as an RPM dependency.

Spike
----------------------------------------------------------------------

Date: Fri, 21 Feb 2020 14:25:41 -0500
From: Matt VanderWerf <mvanderw at nd.edu>
To: linux-poweredge at dell.com
Subject: Re: [Linux-PowerEdge] RHEL 8.x dell-system-update RPM should
	include libssh2 RPM as a dependency...
Message-ID:
	<CAAZU3rCy+PWrt=LArTBiCtxzoDYh1z_kq2Hjdbmpv9Zvcz4u1w at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"


[EXTERNAL EMAIL] 

To add to Chris, there is more information here (someone from Dell opened the bug): https://bugzilla.redhat.com/show_bug.cgi?id=1767908

According to https://bugzilla.redhat.com/show_bug.cgi?id=1767908#c15 (from another Dell person), "Dell tools has made plans to move to libssh from libssh2."

Thanks.

--
Matt Vander Werf
HPC System Administrator
University of Notre Dame
Center for Research Computing - Union Station
506 W. South Street
South Bend, IN 46601
Phone: (574) 631-0692


On Fri, Feb 21, 2020 at 2:18 PM Chris Adams <linux at cmadams.net> wrote:

>
> [EXTERNAL EMAIL]
>
> libssh is a completely different library from libssh2, so that's not
> going to work.
>
> libssh2 has been deprecated in RHEL 8.1 in favor of libssh - libssh2
> _may_ get added to EPEL, but it has not so far.  Dell should probably
> look at either updating their code to use the alternate, or they could
> include libssh2 in their RHEL 8 repo.
>
> Once upon a time, Patrick Boutilier <boutilpj at ednet.ns.ca> said:
> >
> > [EXTERNAL EMAIL]
> >
> > Or just make a symbolic link.
> >
> >
> >
> > cd /usr/lib64
> >
> > ln -s libssh.so.4 libssh2.so.1
> >
> >
> > On 2/21/20 1:05 PM, Aram Mirzadeh wrote:
> > >I downloaded libssh from github and compiled it.  I just needed
> > >the regular "Development Tools" group install.
> > >
> > >On Fri, Feb 21, 2020 at 11:47 AM <Spike.White at dell.com
> > ><mailto:Spike.White at dell.com>> wrote:
> > >
> > >    All,____
> > >
> > >    __ __
> > >
> > >    On RHEL8.1, when installing dell-system-update RPM as per usual
> > >    instructions, dsu fails on the command line as so:____
> > >
> > >    __ __
> > >
> > >    [root at austgcore17 ~]# dsu --help____
> > >
> > >    dsu: error while loading shared libraries: libssh2.so.1: cannot open
> > >    shared object file: No such file or directory____
> > >
> > >    __ __
> > >
> > >    It?s trivial to fix, just install the libssh2 RPM:____
> > >
> > >    __ __
> > >
> > >    [root at austgcore17 ~]# yum -y install libssh2____
> > >
> > >    ?____
> > >
> > >    [root at austgcore17 ~]# dsu --help____
> > >
> > >    __ __
> > >
> > >    Usage: dsu [OPTION]...____
> > >
> > >             Options:____
> > >
> > >             ?____
> > >
> > >    __ __
> > >
> > >    However, for completeness the dell-system-update RPM for RHEL8
> > >    should add libssh2 RPM as an RPM dependency.____
> > >
> > >    __ __
> > >
> > >    Spike____



More information about the Linux-PowerEdge mailing list