Date: Thu, 8 Jun 2000 21:15:49 +0800 From: Clive Lin <clive@CirX.ORG> To: Valentin Nechayev <netch@lucky.net> Cc: Clive Lin <clive@CirX.ORG>, Brian Somers <brian@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/etc/periodic/daily 110.clean-tmps Message-ID: <20000608211549.A7556@cartier.cirx.org> In-Reply-To: <20000608150301.A51371@lucky.net>; from netch@lucky.net on Thu, Jun 08, 2000 at 03:03:01PM %2B0300 References: <200006080848.BAA28589@freefall.freebsd.org> <20000608191743.A96693@host.cer.ntnu.edu.tw> <20000608150301.A51371@lucky.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I full agree with you that better not place run-time socket or file in /tmp, but it's a default value for most application. :-( If just clean it, there's risk. I think that not everybody will take a look at the source, and s,\/tmp,\/var\/run, or so just for keeping his own long-time-not-accessed but needed socket/file from being cleared. This world is full of bozoz, not hackers... *shurg* So, I suggest (yeah, just suggest..) put $clear_tmp_daily and related stuffs into rc.conf and let this periodic script be consistent with it... Regards, Clive On Thu, Jun 08, 2000 at 03:03:01PM +0300, Valentin Nechayev wrote: > Thu, Jun 08, 2000 at 19:17:43, clive wrote about "Re: cvs commit: src/etc/periodic/daily 110.clean-tmps": > > > Oh, sorry, how if I really don't want to clean /tmp while the machine > > is running, and want to clean /tmp when reboot ... ? > > > > There're many applications need /tmp to store their sockets. > > > > It's possible if a screen socket idles for one or 2 weeks, then the > > owner comes back to "screen -r". > > screen sockets should be placed in /var/run for suidroot screen > and possibly in ~/var/run for non-suidroot one. > > > Or a mysql or postgresql sockets (even more) that idle for a really > > long time but need to connect to the demon at any time. > > The same. -- CirX - This site doesnt' exist. 9c k9o h9 s1bg s1f, 7v .y xqx a sj m8r ffg1 vg5 a6 asox tmul h38 . ant sj m8r ob ? 1fj mwby a1 tao vg5. soq df v ' .a. CirX. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000608211549.A7556>