[csw-users] libcontract on Solaris 8 ?

Dennis Clarke dclarke at blastwave.org
Sun Oct 28 17:49:12 CET 2007


> bash-2.03# uname -a
> SunOS naboo 5.8 Generic_117350-50 sun4u sparc SUNW,Ultra-2
>
> bash-2.03# pkg-get -i openssh
> WARNING: gpg not found
> No worries... you already have version 4.6,REV=2007.08.24_rev=p1 of openssh
> If you doubt this message, run 'pkg-get -U', then run
>  'pkg-get upgrade openssh'
>
> bash-2.03# ldd /opt/csw/sbin/sshd
>         libwrap.so.1 =>  /opt/csw/lib/sparcv8/libwrap.so.1
>         libpam.so.1 =>   /usr/lib/libpam.so.1
>         libdl.so.1 =>    /usr/lib/libdl.so.1
>         libcontract.so.1 =>      (file not found)
>         libresolv.so.2 =>        /usr/lib/libresolv.so.2
>         libcrypto.so.0.9.8 =>
> /opt/csw/lib/sparcv8plus+vis/libcrypto.so.0.9.8
>         librt.so.1 =>    /usr/lib/librt.so.1
>         libz.so =>       /opt/csw/lib/sparcv8plus+vis/libz.so
>         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
>         libcom_err.so.3 =>       /opt/csw/lib/sparcv8/libcom_err.so.3
>         libc.so.1 =>     /usr/lib/libc.so.1
>         libc.so.1 (SUNW_1.22) =>         (version not found)
>         libcmd.so.1 =>   /usr/lib/libcmd.so.1
>         libaio.so.1 =>   /usr/lib/libaio.so.1
>         libmp.so.2 =>    /usr/lib/libmp.so.2
>         libk5crypto.so.3 =>      /opt/csw/lib/libk5crypto.so.3
>         libkrb5support.so.0 =>   /opt/csw/lib/libkrb5support.so.0
>         /usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1
>
> ... and more or less the same dependancies on x86. The SUNW_1.22
> not found is strange, but even more, it seems that libcontract is only on
> solaris 10, giving the impression the package have been built on sol10.
> Some hint on how to investigate ?

The details on that package tell us where and when it was built :

$ pkginfo -l CSWossh
   PKGINST:  CSWossh
      NAME:  openssh - OpenSSH Secure Shell
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  4.6,REV=2007.08.24_rev=p1
    VENDOR:  ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/ packaged
for CSW by Yann Rouillard
    PSTAMP:  yann at ra-20070824195509
  INSTDATE:  Sep 27 2007 15:11
   HOTLINE:  http://www.blastwave.org/bugtrack/
     EMAIL:  yann at blastwave.org
    STATUS:  completely installed
     FILES:       48 installed pathnames
                   8 shared pathnames
                  11 directories
                  14 executables
                   1 setuid/setgid executables
                5600 blocks used (approx)

PSTAMP:  yann at ra-20070824195509

That says ra which is the Blastwave Solaris 8 server.  However that data can
be faked via a simple option to mkpkg .. but I really doubt that was done.

Dennis







More information about the users mailing list