From owner-freebsd-ports-bugs Thu Jan 23 2:10: 5 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D63C37B401 for ; Thu, 23 Jan 2003 02:10:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A26843EB2 for ; Thu, 23 Jan 2003 02:10:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0NAA4NS026376 for ; Thu, 23 Jan 2003 02:10:04 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0NAA4FM026375; Thu, 23 Jan 2003 02:10:04 -0800 (PST) Date: Thu, 23 Jan 2003 02:10:04 -0800 (PST) Message-Id: <200301231010.h0NAA4FM026375@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: Dean Hollister Subject: Re: ports/47390: Updated Port: security/fakeident Reply-To: Dean Hollister Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/47390; it has been noted by GNATS. From: Dean Hollister To: "Simon 'corecode' Schubert" Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: ports/47390: Updated Port: security/fakeident Date: Thu, 23 Jan 2003 18:00:08 +0800 At 10:56 23/01/2003 +0100, Simon 'corecode' Schubert wrote: >how about checking for /var/run/identd.pid existance? >otherwise stopping a not running fakeidentd will produce an ugly error >message: >cat: /var/run/identd.pid: No such file or directory simon-- The problem is that the identd daemon doesn't remove this file upon exiting, as a result, a stop will return a no such process error anyway. Kind of a case of 6 of one, half a dozen of the other... That said, it's certainly feasible to check for the existence of the pid file, and if it exists, send a kill to the pid in it and then rm the file, all within the rc.d script. Regards, d. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message