From owner-freebsd-ports Sat Oct 20 9:14:14 2001 Delivered-To: freebsd-ports@freebsd.org Received: from pr0n.kutulu.org (pr0n.kutulu.org [151.196.107.157]) by hub.freebsd.org (Postfix) with ESMTP id 310F437B403; Sat, 20 Oct 2001 09:14:10 -0700 (PDT) Received: from cc191573g (kutulu@cc191573-g.longhill1.md.home.com [24.37.104.136]) by pr0n.kutulu.org (8.11.6/8.11.6) with SMTP id f9KGEAR42626; Sat, 20 Oct 2001 12:14:11 -0400 (EDT) (envelope-from kutulu@kutulu.org) Message-ID: <001c01c15981$a3614a40$88682518@longhill1.md.home.com> From: "Kutulu" To: "Clive Lin" , Cc: References: <200110201346.f9KDkoH94175@freefall.freebsd.org> <20011020235846.A65605@cartier.cirx.org> Subject: Re: ports/30431: ircd-hybrid fails to open logfile when started as root and running as non-root Date: Sat, 20 Oct 2001 12:09:44 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I just CVSup's ports-all and I still have 5.3p8 in ports. The original PR was actually against 6.0 anyway, and I just downloaded the distribution of 6.2 from sourceforge and the problem still exists. My original patch doesn't apply cleanly (I was having a bad week that week), this one should work: --- ircd.c.old Sat Oct 20 12:11:15 2001 +++ ircd.c Sat Oct 20 12:11:35 2001 @@ -835,6 +835,9 @@ } #endif + init_sys(bootDaemon); + init_log(logFileName); + #if !defined(CHROOTDIR) || (defined(IRC_UID) && defined(IRC_GID)) setuid(euid); @@ -873,9 +876,6 @@ #endif /*CHROOTDIR/UID/GID*/ setup_signals(); - - init_sys(bootDaemon); - init_log(logFileName); initialize_message_files(); ----- Original Message ----- From: "Clive Lin" To: Cc: ; Sent: Saturday, October 20, 2001 11:58 AM Subject: Re: ports/30431: ircd-hybrid fails to open logfile when started as root and running as non-root > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > Could you please test the newly committed irc/ircd-hybrid port to > verfy if this happens again ? > > On Sat, Oct 20, 2001 at 06:46:50AM -0700, ijliao@FreeBSD.ORG wrote: > > Synopsis: ircd-hybrid fails to open logfile when started as root and running as non-root > > > > State-Changed-From-To: open->feedback > > State-Changed-By: ijliao > > State-Changed-When: Sat Oct 20 06:44:18 PDT 2001 > > State-Changed-Why: > > what version of ircd-hybrid did you use ? > > > > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30431 > > - -- > PGP key in header X-PGP-key. Mutt users simply |gpg --verify would do > the job. Win32 users please google for "pgp freeware." > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (FreeBSD) > Comment: For info see http://www.gnupg.org > > iD8DBQE70Z8vdFUoBaAIwD4RAhGxAJ9TI2/r3rTfY1YL3ZGD/bfC35sKaACgrBS0 > +9O+x1Bx5YIMltU4qasJbjU= > =lgZ7 > -----END PGP SIGNATURE----- > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message