Date: Sat, 10 Mar 2001 20:42:28 -0500 From: Will Andrews <will@physics.purdue.edu> To: Dan Langille <dan@langille.org> Cc: ports@FreeBSD.ORG Subject: Re: where to put tmp files for security/logcheck Message-ID: <20010310204228.M45561@ohm.physics.purdue.edu> In-Reply-To: <200103110019.f2B0JAw02897@ns1.unixathome.org>; from dan@langille.org on Sun, Mar 11, 2001 at 01:19:08PM %2B1300 References: <200103110019.f2B0JAw02897@ns1.unixathome.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--bzuizT9vlVVqWfw+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 11, 2001 at 01:19:08PM +1300, Dan Langille wrote: > It's come to my attention (thanks Mr Fenner) that security/logcheck=20 > creates /usr/local/etc/tmp for its own use but does not remove that=20 > directory when the port is deleted. >=20 > 1 - I'm not so such I like the idea of a port creating such a directory. = =20 > Why can't it just use /var/tmp like everyone else? This would also=20 > remove the need to create/remove a tmp directory. >=20 > 2 - If I modify the port so it just removes /usr/local/etc/tmp when=20 > pkg_delete is called, what's the downside? Still, I don't like the idea = of=20 > creating directories just for tmp files. >=20 > 3 - I've msg'd the author off-list to see what he thinks of this change. Blah. etc/tmp is wrong. hier(7) says: /usr/ contains the majority of user utilities and applications [...] local/ local executables, libraries, etc. Also used as the default destination for the FreeBSD ports framework. Within local/, the general layout sketched out by hier(7) for /usr should be used. [...] /var/ multi-purpose log, temporary, transient, and spool files [...] tmp/ temporary files that are kept between system reboo= ts IMO, /usr/local (${PREFIX} here) should be extended to include ${PREFIX}/va= r. --=20 wca --bzuizT9vlVVqWfw+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.3 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6qtgDF47idPgWcsURAtfeAJ9b+6CZQInJQCz1jcPvjsFZeJS1jwCgkmJn wvtkmD91H7bMyC84iF586e0= =quen -----END PGP SIGNATURE----- --bzuizT9vlVVqWfw+-- 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?20010310204228.M45561>