[pgpool-committers: 2347] pgpool: Fix ill signal befavior of SIGCHLD in exec_ifconfig().
Tatsuo Ishii
ishii at postgresql.org
Sat Dec 6 23:15:44 JST 2014
Fix ill signal befavior of SIGCHLD in exec_ifconfig().
For some reason signal(SIGCHLD, SIG_IGN) was set *and* tries to wait
child process which always fails because SIGCHLD is never
delivered. Due to this "ifconfig up" fails when switching to watchdog
master. Fix is, before calling fork(), do "signal(SIGCHLD,
SIG_DFL)". See "[pgpool-general: 3310] Watchdog - ifconfig up failed."
for more details.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=c9bdf03e0d87e9bfc92c9cac3ddec3cefaa0d08b
Modified Files
--------------
src/watchdog/wd_if.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
More information about the pgpool-committers
mailing list