Hi Guys,

I have been lurking for about ten years now and just decided to pop up with a suggestion. What if, just as a hypothetical, you could have a static binary of openssh for new installs.  Kind of like a "bootstrap" system for newly setup machines.  What do you say?  This could really help out anybody using an older OS or older hardware.

Yours,
-Dave W.


On 12/19/2017 15:16, Dagobert Michelsen via users wrote:
Hi,

Am 19.12.2017 um 09:39 schrieb Dagobert Michelsen via users <[email protected]>:
Am 18.12.2017 um 16:06 schrieb Ilan Schwarts <[email protected]>:
I dont understand.
I have update 9 according to the information i provided earlier, but
still have SUNW_2.2, how can i get SUNW_2.2.1 ?
Is there a fix ?

That is very good question. You are already on Solaris 9 Update 9. But our
Solaris 9 build server on Sparc is not a physical box, but a branded zone.
It looks like the SUNW_2.2.1 is leaking from the enclosing Solaris 10
into the branded zone, although it should not, but the binary promise
from Sun was always only forward, so it is probably not a bug. A solution
would be to rebuild OpenSSH with a mapfile limiting the linker contract
to SUNW_2.2. I’ll take a quick look, but no promises. If you really need
this I suggest you join the projekt and help maintaining it.

It is complicated, once I activate the linker map to downgrade the library contract I get compile
errors with the kerberos libraries. This needs debugging, if you want feel free to have a look,
I’ll help with the packaging then.


Best regards

  — Dago



Best regards

 — Dago



On Mon, Dec 18, 2017 at 4:40 PM, Ilan Schwarts <[email protected]> wrote:
bash-2.05# pvs -no /usr/lib/libresolv.so.2
/usr/lib/libresolv.so.2 -       libsocket.so.1 (SUNW_1.4, SUNWprivate_1.1);
/usr/lib/libresolv.so.2 -       libnsl.so.1 (SUNW_1.7, SUNWprivate_1.2);
/usr/lib/libresolv.so.2 -       libdl.so.1 (SISCD_2.3);
/usr/lib/libresolv.so.2 -       libc.so.1 (SUNW_1.19, SUNWprivate_1.1);
/usr/lib/libresolv.so.2 -       SUNW_2.2;
/usr/lib/libresolv.so.2 -       SUNWprivate_2.2;
bash-2.05# ssh
ld.so.1: ssh: fatal: libresolv.so.2: version `SUNW_2.2.1' not found
(required by file /opt/csw/lib/sparcv8/libkrb5.so.3)
ld.so.1: ssh: fatal: libresolv.so.2: open failed: No such file or directory
Killed
bash-2.05#



On Mon, Dec 18, 2017 at 4:35 PM, Dagobert Michelsen <[email protected]> wrote:
Hi,

Am 18.12.2017 um 15:31 schrieb Ilan Schwarts <[email protected]>:
how do i know my solaris version ?
bash-2.05# cat /etc/*release
                   Solaris 9 9/05 HW s9s_u9wos_06b SPARC

s9s_u9 <- u9 is the release, so you have the correct one.

        Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
                     Use is subject to license terms.
                        Assembled 25 September 2006
bash-2.05# uname -a
SunOS Ela 5.9 Generic_118558-34 sun4u sparc SUNW,Sun-Fire-280R

Sorry, I’m at a loss here - Solaris 9u9 is the one I am using for packaging also,
so there should be no such issue, you can try

unstable9s% pvs -no /usr/lib/libresolv.so.2
/usr/lib/libresolv.so.2 -       libsocket.so.1 (SUNW_1.4, SUNWprivate_1.1);
/usr/lib/libresolv.so.2 -       libnsl.so.1 (SUNW_1.7, SUNWprivate_1.2);
/usr/lib/libresolv.so.2 -       libdl.so.1 (SISCD_2.3);
/usr/lib/libresolv.so.2 -       libc.so.1 (SUNW_1.19, SUNWprivate_1.1);
/usr/lib/libresolv.so.2 -       SUNW_2.2.1;
/usr/lib/libresolv.so.2 -       SUNWprivate_2.2;

and see about the SUNW_2.2.1 binding.


Best regards

— Dago


On Mon, Dec 18, 2017 at 4:17 PM, Dagobert Michelsen <[email protected]> wrote:
Hi Ilan,

you need at least Solaris 9 Update 9:

http://lists.opencsw.org/pipermail/bug-notifications/2013-April/011736.html


Best regards

— Dago


Am 18.12.2017 um 14:58 schrieb Ilan Schwarts via users
<[email protected]>:

Hi all,
I am trying to install OpenSSH on solaris 9 sparc from
https://www.opencsw.org/package/openssh/

After installation completes, when executing ssh i receive the following
error:
bash-2.05# ssh
ld.so.1: ssh: fatal: libresolv.so.2: version `SUNW_2.2.1' not found
(required by file /opt/csw/lib/sparcv8/libkrb5.so.3)
ld.so.1: ssh: fatal: libresolv.so.2: open failed: No such file or directory
Killed

SSH information:
bash-2.05# /opt/csw/bin/pkgutil -y -i openssh
Solving needed dependencies ...
Solving dependency order ...
15 CURRENT packages:
    CSWcas-initsmf-1.49,REV=2013.08.05
    CSWcas-migrateconf-1.49,REV=2013.08.05
    CSWcas-preserveconf-1.49,REV=2013.08.05
    CSWcas-usergroup-1.49,REV=2013.08.05
    CSWcommon-1.5,REV=2010.12.11
    CSWlibcom-err3-1.9.2,REV=2012.04.17
    CSWlibgssapi-krb5-2-1.9.2,REV=2012.04.17
    CSWlibk5crypto3-1.9.2,REV=2012.04.17
    CSWlibkrb5-3-1.9.2,REV=2012.04.17
    CSWlibkrb5support0-1.9.2,REV=2012.04.17
    CSWlibssl1-0-0-1.0.2l,REV=2017.06.01
    CSWlibwrap1-7.6_ipv6.4,REV=2011.08.24
    CSWlibz1-1.2.7,REV=2012.06.14
    CSWossh-6.0p1,REV=2012.05.17
    CSWosshclient-6.0p1,REV=2012.05.17

Nothing to do.

bash-2.05# which ssh
/opt/csw/bin/ssh
bash-2.05# ldd /opt/csw/bin/ssh
    libresolv.so.2 =>        /usr/lib/libresolv.so.2
    libcrypto.so.1.0.0 =>    /opt/csw/lib/sparcv8/libcrypto.so.1.0.0
    librt.so.1 =>    /usr/lib/librt.so.1
    libdl.so.1 =>    /usr/lib/libdl.so.1
    libz.so.1 =>     /opt/csw/lib/sparcv8plus+vis/libz.so.1
    libsocket.so.1 =>        /usr/lib/libsocket.so.1
    libnsl.so.1 =>   /usr/lib/libnsl.so.1
    libgssapi_krb5.so.2 =>   /opt/csw/lib/sparcv8/libgssapi_krb5.so.2
    libkrb5.so.3 =>  /opt/csw/lib/sparcv8/libkrb5.so.3
    libk5crypto.so.3 =>      /opt/csw/lib/sparcv8/libk5crypto.so.3
    libcom_err.so.3 =>       /opt/csw/lib/sparcv8/libcom_err.so.3
    libc.so.1 =>     /usr/lib/libc.so.1
    libaio.so.1 =>   /usr/lib/libaio.so.1
    libmd5.so.1 =>   /usr/lib/libmd5.so.1
    libmp.so.2 =>    /usr/lib/libmp.so.2
    libkrb5support.so.0 =>   /opt/csw/lib/sparcv8/libkrb5support.so.0
    libresolv.so.2 (SUNW_2.2.1) =>   (version not found)
    /usr/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1
    /usr/platform/SUNW,Sun-Fire-280R/lib/libmd5_psr.so.1
bash-2.05# ssh



--


-
Ilan Schwarts


--
"You don't become great by trying to be great, you become great by wanting
to do something,
and then doing it so hard that you become great in the process." - xkcd #896




--


-
Ilan Schwarts

--
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896




--


-
Ilan Schwarts



-- 


-
Ilan Schwarts

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896


Reply via email to