Subject: Re: inetd / tftpd regression
To: Jukka Salmi <j+nbsd@2005.salmi.ch>
From: Christos Zoulas <christos@zoulas.com>
List: current-users
Date: 04/09/2005 12:08:49
On Apr 9,  5:35pm, j+nbsd@2005.salmi.ch (Jukka Salmi) wrote:
-- Subject: Re: inetd / tftpd regression

| The following commit caused the described regression:
| 
| -----
| Module Name:	src
| Committed By:	christos
| Date:		Wed Mar 30 17:07:51 UTC 2005
| 
| Modified Files:
| 	src/sys/kern: kern_exit.c kern_sig.c
| 	src/sys/sys: proc.h
| 
| Log Message:
| PR/19837: Stephen Ma: signal(SIGCHLD, SIG_IGN) should not create zombies.
| 
| 
| To generate a diff of this commit:
| cvs rdiff -r1.145 -r1.146 src/sys/kern/kern_exit.c
| cvs rdiff -r1.202 -r1.203 src/sys/kern/kern_sig.c
| cvs rdiff -r1.198 -r1.199 src/sys/sys/proc.h
| -----
| 
| After reverting these changes, tftp (and netbooting the net45xx) works fine
| again.
| 
| Summary:
| To reproduce the problem, enable tftp on a current i386 system using the
| following files:
| 
| $ ident  /netbsd | egrep -e 'kern_(exit|sig)\.c'
|      $NetBSD: kern_exit.c,v 1.146 2005/03/30 17:07:50 christos Exp $
|      $NetBSD: kern_sig.c,v 1.204 2005/04/01 11:59:37 yamt Exp $
| 
| copy a file to /tftpboot and try to fetch it twice. The first time it will
| succeed, but then time out:

Thanks, try with kern_sig.c 1.205.

christos