Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2001 19:28:07 -0700 (PDT)
From:      fm@astral.ntu-kpi.kiev.ua
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/27049: ports/net/rinetd not correctly became a daemon
Message-ID:  <200105030228.f432S7j24700@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105030228.f432S7j24700>