Date: Sat, 20 Oct 2001 12:09:44 -0400 From: "Kutulu" <kutulu@kutulu.org> To: "Clive Lin" <clive@tongi.org>, <ijliao@FreeBSD.ORG> Cc: <freebsd-ports@FreeBSD.ORG> Subject: Re: ports/30431: ircd-hybrid fails to open logfile when started as root and running as non-root Message-ID: <001c01c15981$a3614a40$88682518@longhill1.md.home.com> References: <200110201346.f9KDkoH94175@freefall.freebsd.org> <20011020235846.A65605@cartier.cirx.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <clive@tongi.org> To: <ijliao@FreeBSD.ORG> Cc: <kutulu@kutulu.org>; <freebsd-ports@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001c01c15981$a3614a40$88682518>