From owner-freebsd-ports Wed Nov 17 2:57:26 1999 Delivered-To: freebsd-ports@freebsd.org Received: from iclub.nsu.ru (iclub.nsu.ru [193.124.222.66]) by hub.freebsd.org (Postfix) with ESMTP id 7F6C914C5A; Wed, 17 Nov 1999 02:55:16 -0800 (PST) (envelope-from fjoe@iclub.nsu.ru) Received: from localhost (fjoe@localhost) by iclub.nsu.ru (8.9.3/8.9.3) with ESMTP id QAA76330; Wed, 17 Nov 1999 16:54:17 +0600 (NS) (envelope-from fjoe@iclub.nsu.ru) Date: Wed, 17 Nov 1999 16:54:17 +0600 (NS) From: Max Khon To: ports@freebsd.org Cc: obrien@freebsd.org Subject: bash1 leave SIGHUP ignored Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hi, there! bash1 (when runnning as login shell) leave SIGHUP ignored (yep, the code that sets handler for SIGHUP exists but SIGHUP remain ignored for some reason). this causes many programs that read input from terminal (mc, slrn, micq, tt++, pdmenu) to eat 100% CPU when telnet session is ungracefully closed because SIGHUP is not delivered to them. maintaining a shell-account server with bash1 as user shell becomes a nightmare. bash2 does not have this bug but I cannot identify the reason SIGHUP remain ignored in bash1 (the code for dealing with signals looks the same). both bash1 and bash2 are installed from ports tree updated today --- cut here --- lark:~$uname -a FreeBSD lark.websci.ru 3.3-STABLE FreeBSD 3.3-STABLE #12: Wed Nov 17 15:11:14 NOVT 1999 fjoe@lark.websci.ru:/usr/src/sys/compile/lark i386 lark:~$ --- cut here --- /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message