Re: Stuck CLOSED sockets / sshd / zombies...

看板FB_hackers作者時間11年前 (2014/05/09 16:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串48/50 (看更多)
--On 11 April 2014 21:39 +0300 Konstantin Belousov <kostikbel@gmail.com> wrote: > BTW, below is the updated patch with the workaround for sshd issue. > > diff --git a/secure/usr.sbin/sshd/Makefile b/secure/usr.sbin/sshd/Makefile > index 4f730a9..b3231a4 100644 > --- a/secure/usr.sbin/sshd/Makefile > +++ b/secure/usr.sbin/sshd/Makefile > @@ -57,6 +57,12 @@ CFLAGS+= -DNONE_CIPHER_ENABLED > DPADD+= ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ} > LDADD+= -lcrypt -lcrypto -lz > > +# put the threading library last > +.if ${MK_KERBEROS_SUPPORT} != "no" > +DPADD+= ${LIBPTHREAD} > +LDADD+= -lpthread > +.endif > + > .if defined(LOCALBASE) > CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\" > .endif As far as I can see this hasn't been committed to 10/Stable yet? (or anywhere?) That means anything we build from 10/Stable is still going to have this issue - where sshd hangs because "libthr wrapper thr_sighandler() for the signal handlers is not installed as the recepient of the kernel signal, which prevents libthr locks for rtld from working properly." This is causing us issues [as well as some other people running other tools - not fixed by this patch] - I would raise a PR - but it's not my patch! :) Thanks, -Karl _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
文章代碼(AID): #1JR9A2ui (FB_hackers)
討論串 (同標題文章)
文章代碼(AID): #1JR9A2ui (FB_hackers)