[OpenAFS-devel] Why do afsd daemons loop tightly after receiving a SIGHUP?

Derek Atkins warlord@MIT.EDU
02 Aug 2001 22:36:04 -0400


Daniel Jacobowitz <dmj+afs@andrew.cmu.edu> writes:

> Have you actually tried ignoring the signal?  The multiple signal
> delivery paths in Linux are somewhat convoluted, but the primary one
> for receiving signals sent by another user process (send_sig_info)
> checks ignored_signal().  The signal should actually not be delivered
> in that case.

This appears to be a specific change in Linux 2.4.  This behavior was
certainly not the case in 2.2.  But yes, it does appear that setting
signal(SIG_IGN) on the appropriate signals should DTRT for Linux 2.4.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available