Date: Sat, 1 May 2004 16:12:32 +0200 (CEST) From: Helge Oldach <spamass-milter-may04@oldach.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: spamass-milter-may04@oldach.net Subject: ports/66146: ports/mail/spamass-milter should setsid() to detach from controlling terminal Message-ID: <200405011412.i41ECWVl007151@sep.oldach.net> Resent-Message-ID: <200405011420.i41EKBgM068902@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 66146 >Category: ports >Synopsis: ports/mail/spamass-milter should setsid() to detach from controlling terminal >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat May 01 07:20:10 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Helge Oldach >Release: FreeBSD 4.10-PRERELEASE i386 >Organization: >Environment: System: FreeBSD localhost 4.10-PRERELEASE FreeBSD 4.10-PRERELEASE #1838: Sun Apr 25 00:32:25 CES T 2004 toor@localhost:/usr/obj/usr/src/sys/GENERIC i386 >Description: spamass-milter currently runs with controlling terminal: 7108 p3 S 0:00.01 /usr/local/sbin/spamass-milter -p /var/run/spamass-mi ^^^^ It should actually call setsid() to detach from it. >How-To-Repeat: >Fix: --- spamass-milter.cpp.orig Sat May 1 15:48:18 2004 +++ spamass-milter.cpp Sat May 1 15:51:06 2004 @@ -277,6 +277,7 @@ exit(errno); break; case 0: /* Child */ + setsid(); break; default: /* Parent */ exit(0); >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405011412.i41ECWVl007151>