From owner-freebsd-stable Thu May 31 19:33:31 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail2.uniserve.com (mail2.uniserve.com [204.244.156.10]) by hub.freebsd.org (Postfix) with ESMTP id 3E74037B423 for ; Thu, 31 May 2001 19:33:29 -0700 (PDT) (envelope-from tom@uniserve.com) Received: from mail2.uniserve.com ([204.244.156.10]) by mail2.uniserve.com with esmtp (Exim 3.13 #1) id 155ekc-000BNd-00; Thu, 31 May 2001 19:33:22 -0700 Date: Thu, 31 May 2001 19:33:22 -0700 (PDT) From: Tom X-Sender: tom@athena.uniserve.ca To: Gregory Bond Cc: stable@freebsd.org Subject: Re: Who's HUPing my daemon? In-Reply-To: <200106010210.MAA26759@lightning.itga.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 1 Jun 2001, Gregory Bond wrote: > I'm suspicious that just a plain fork() is not enough to disconnect from the > boot sequence but I can't work out what's causing the HUP. Suggestions? Probably. You need to detach from the terminal, or you'll get a HUP when the terminal session ends. If it is your code, you might want to catch HUP and do nothing. Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message