[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash doesn't send SIGHUP to children
From: |
emil |
Subject: |
bash doesn't send SIGHUP to children |
Date: |
Wed, 3 Sep 2008 16:40:48 +0100 (BST) |
Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL
-DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -g -O2
uname output: Linux hexa 2.6.24.4-grsec #3 Thu Apr 17 18:53:27 BST 2008 i686
GNU/Linux
Machine Type: i486-pc-linux-gnu
Bash Version: 3.2
Patch Level: 4
Release Status: release
Description:
Regradless of the huponexit setting ('shopt -s huponexit' doesn't
help) bash does not send SIGHUP to its children when it receives one
itself. Previous version of bash 3.1.17 was behaving properly
even with huponexit set to off
Repeat-By:
launch rxvt, launch mc then close the rxvt window ->
mc is still running with CPU to 100% (this is because
mc tries to read from stdin while receiving EOF)
Closing rxvt sends SIGHUP to bash but bash doesn't send
SIGHUP to its children
Fix:
Downgrade to bash 3.1.17
- bash doesn't send SIGHUP to children,
emil <=