From owner-freebsd-ports Thu Mar 9 9:42:50 2000 Delivered-To: freebsd-ports@freebsd.org Received: from argon.blackdawn.com (deepspace9.dcds.edu [207.231.151.2]) by hub.freebsd.org (Postfix) with ESMTP id DF43F37B742; Thu, 9 Mar 2000 09:42:47 -0800 (PST) (envelope-from will@blackdawn.com) Received: by argon.blackdawn.com (Postfix, from userid 1000) id D9E951A69; Thu, 9 Mar 2000 12:42:35 -0500 (EST) Date: Thu, 9 Mar 2000 12:42:35 -0500 From: Will Andrews To: Ade Lovett Cc: freebsd-ports@FreeBSD.ORG Subject: Re: ports/15820: A Y2K class bug when setting atime & mtime by receive Message-ID: <20000309124235.D422@argon.blackdawn.com> References: <200003091650.IAA22774@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200003091650.IAA22774@freefall.freebsd.org>; from ade@FreeBSD.ORG on Thu, Mar 09, 2000 at 08:50:03AM -0800 X-Operating-System: FreeBSD 4.0-CURRENT i386 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Mar 09, 2000 at 08:50:03AM -0800, Ade Lovett wrote: > (I'm still not overly impressed by some of the stuff in the PLIST). I'm not impressed at all. > @@ -25,7 +23,6 @@ > @exec echo -e 'saft\tstream\ttcp\tnowait\troot\t/usr/local/sbin/sendfiled sendfiled' >> /etc/inetd.conf > @exec echo -e 'saft\t\t487/tcp\t# simple asynchronous file transfer'>>/etc/services > @exec kill -HUP `ps auxw|awk '$11 == "inetd" { print $2 } '` > - > @unexec perl -pi.bak -e '/^saft/ && ($_="")' /etc/inetd.conf > @unexec kill -HUP `ps auxw|awk '$11 == "inetd" { print $2 } '` > @unexec rm -R /var/spool/sendfile This stuff is silly. IMO, no port should ever modify /etc files (other than shells, for obvious reasons), much less send signals to an arbitrary daemon. There are far too many assumptions made by this PLIST, some of which may threaten security. -- Will Andrews GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w--- ?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ G++>+++ e->++++ h! r-->+++ y? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message