NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/39233: OpenSSH fails to initialize tun(4) tunnels correctly



The following reply was made to PR bin/39233; it has been noted by GNATS.

From: Quentin Garnier <cube%cubidou.net@localhost>
To: Taylor R Campbell <campbell%mumble.net@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: bin/39233: OpenSSH fails to initialize tun(4) tunnels correctly
Date: Mon, 28 Jul 2008 18:52:17 +0200

 --n+lFg1Zro7sl44OB
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Mon, Jul 28, 2008 at 12:49:37PM -0400, Taylor R Campbell wrote:
 >    Date: Mon, 28 Jul 2008 18:41:52 +0200
 >    From: Quentin Garnier <cube%cubidou.net@localhost>
 >=20
 >    Locate your ${TOOLSDIR}, and use ${TOOLSDIR}/bin/nbmake-${ARCH} in
 >    place of make, and do nbmake-lalala dependall install in libssh and
 >    then the same in usr.bin/ssh.  I don't remember if ssh uses a shared
 >    libssh, but in that case you can probably get away with just rebuilding
 >    and reisntalling libssh.  Then you can play with LD_LIBRARY_PATH to ma=
 ke
 >    sure ssh picks up the correct libssh.so.
 >=20
 >    Alternatively you can also use make directly in those directories but
 >    that tend to leave files behind.  Of course you can set OBJDIRPREFIX or
 >    MAKEOBJDIRPREFIX so that files get built elsewhere but don't forget to
 >    do "make obj" first.
 >=20
 >    I hope I don't sound too confusing :-)
 >=20
 > That was helpful -- thanks!  To install the newly built binaries in a
 > NetBSD system (a Xen domU intended for the purposes of testing), would
 > it suffice to copy $DESTDIR/usr/lib/libssh.* and $DESTDIR/usr/bin/ssh
 > into /usr/lib/ and /usr/bin/ of the target system?
 
 That's my recollection from my the last time I played with ssh.  You
 have to be careful though;  always keep a root shell somewhere so you
 don't lock yourself out.
 
 --=20
 Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
 "See the look on my face from staying too long in one place
 [...] every time the morning breaks I know I'm closer to falling"
 KT Tunstall, Saving My Face, Drastic Fantastic, 2007.
 
 --n+lFg1Zro7sl44OB
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.9 (NetBSD)
 
 iQEcBAEBAgAGBQJIjflBAAoJENgoQloHrPnoAqwIAJIIjk3IigSQHpg39Zo6CRn6
 0IxFkwQ36iuFtpcYiEkO/CLraLJMNm7HjzxwYZhAaCHoOtxBhAUE8YPbgc88m5lD
 M4/KTiTo+fMsIyurE0PqUg494QSdJSFNFcWmCOn8cqZ/2AsK+mamaf2B7OAhnh5j
 UiPBLRdlOWtgD7Mb6ifOwFkIl6I8fmTrwBl8F886OHwKSeDJse8G71sAcxyyJ6zJ
 ANQYVHWAzVnTzfbuBsmwEnyA+IVolruHXHKpYlzL05UVqHGT0NitfNCbWU0H5geh
 bdwgUAOrohJ2/Y1ohR89u/Jqk8WRAEdlqCNei1tVDmnbHi/DlxVO3ZhleICEDNY=
 =yZBi
 -----END PGP SIGNATURE-----
 
 --n+lFg1Zro7sl44OB--
 


Home | Main Index | Thread Index | Old Index