From owner-freebsd-ports Wed May 2 19:30:11 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A11B637B443 for ; Wed, 2 May 2001 19:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f432U1124862; Wed, 2 May 2001 19:30:01 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4409C37B43C for ; Wed, 2 May 2001 19:28:07 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f432S7j24700; Wed, 2 May 2001 19:28:07 -0700 (PDT) (envelope-from nobody) Message-Id: <200105030228.f432S7j24700@freefall.freebsd.org> Date: Wed, 2 May 2001 19:28:07 -0700 (PDT) From: fm@astral.ntu-kpi.kiev.ua To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/27049: ports/net/rinetd not correctly became a daemon Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 27049 >Category: ports >Synopsis: ports/net/rinetd not correctly became a daemon >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 02 19:30:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Dmitry A. Yanko >Release: 4.3-STABLE >Organization: >Environment: FreeBSD somehost 4.3-STABLE FreeBSD 4.3-STABLE #10: Wed May 2 00:23:50 EEST 2001 root@somehost:/usr/obj/usr/src/sys/somehost i386 >Description: ports/net/rinetd not correctly became a daemon >How-To-Repeat: Try to execute rinetd from `rc.d' startup script >Fix: --- ../rinetd.orig/rinetd.c Wed May 2 17:32:43 2001 +++ rinetd.c Wed May 2 17:33:09 2001 @@ -243,6 +243,7 @@ signal(SIGHUP, hup); #endif /* WIN32 */ signal(SIGTERM, term); + setsid(); initArrays(); readConfiguration(); RegisterPID(); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message