From owner-freebsd-ports Sun Mar 11 8:26:41 2001 Delivered-To: freebsd-ports@freebsd.org Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by hub.freebsd.org (Postfix) with ESMTP id 1544B37B718 for ; Sun, 11 Mar 2001 08:26:35 -0800 (PST) (envelope-from babolo@links.ru) Received: (from babolo@localhost) by aaz.links.ru (8.9.3/8.9.3) id TAA13512; Sun, 11 Mar 2001 19:26:14 +0300 (MSK) Message-Id: <200103111626.TAA13512@aaz.links.ru> Subject: Re: where to put tmp files for security/logcheck In-Reply-To: <20010311003323.T45561@ohm.physics.purdue.edu> from "Will Andrews" at "Mar 11, 1 00:33:23 am" To: will@physics.purdue.edu Date: Sun, 11 Mar 2001 19:26:07 +0300 (MSK) Cc: clefevre@poboxes.com, dan@langille.org, will@physics.purdue.edu, ports@FreeBSD.ORG From: .@babolo.ru MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Will Andrews writes: > On Sun, Mar 11, 2001 at 06:16:27AM +0100, Cyrille Lefevre wrote: > > I'm against that. what's happen if /usr/local is nfs mounted. hugh! > > "local" temp files may clash w/ "local" files from other machines. > > IMHO, /var/tmp is the best place for temp files, even for ports. > > > > not all ports respect that. I'm thinking to cups in particulary. > > > > @dirrm var/log/cups > > @dirrm var/spool/cups/tmp > > @dirrm var/spool/cups > > > > should be /var/... > > NO! I will not have ports touching ANYTHING outside of ${PREFIX}! > PLEASE! If anything, a new variable for tempish dir for packages should > be created.... but NOT this. /usr often used in read only manner (multiple computers with /usr -ro mounted from nfs server or multiple jails with /usr -ro mounted from host computer. /usr/local/tmp is the worst place IMHO. What about using of ${TMPDIR} environment variable? And /usr/bin/mkinittmpdir (PR bin/18275) proposed to use in script initialization to establish ${TMPDIR} in some proper way. -- @BABOLO http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message