Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 2000 18:07:53 -0500 (EST)
From:      Chuck Robey <chuckr@picnic.mat.net>
To:        Will Andrews <andrews@technologist.com>
Cc:        Ade Lovett <ade@FreeBSD.ORG>, freebsd-ports@FreeBSD.ORG
Subject:   Re: ports/15820: A Y2K class bug when setting atime & mtime by receive
Message-ID:  <Pine.BSF.4.21.0003091803340.27516-100000@picnic.mat.net>
In-Reply-To: <20000309124235.D422@argon.blackdawn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 9 Mar 2000, Will Andrews wrote:

> 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.

FWIW, I agree with this.  We should standardize on a particular name of a
file, that would sit in files/, and should describe in plain language any
needed startup tasks.  We should *never* mess with stuff of the base
system.

Only a smallish percentage of ports need this file; it should be added to
packaging, so that someone installing the package could get at it
too.  I'm not adamant about the method (requiring all such ports [that
need startup tasks] to install a
share/doc/${PKGNAME}/startup-configuration-tasks
would also be a reasonable alternative.

> 
> 

----------------------------------------------------------------------------
Chuck Robey            | Interests include C & Java programming, FreeBSD,
chuckr@picnic.mat.net  | electronics, communications, and signal processing.

New Year's Resolution:  I will not sphroxify gullible people into looking up
fictitious words in the dictionary.
----------------------------------------------------------------------------



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?Pine.BSF.4.21.0003091803340.27516-100000>