clearing /var/tmp in periodic.conf?

2012-11-29 Thread Gary Aitken
Any reasons why one should not clear /var/tmp via periodic.conf?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: clearing /var/tmp in periodic.conf?

2012-11-29 Thread Mark Felder
On Thu, 29 Nov 2012 09:19:08 -0700
Gary Aitken free...@dreamchaser.org wrote:

 Any reasons why one should not clear /var/tmp via periodic.conf?

There are lots of things put in /var/tmp that programs expect to be persistent.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: clearing /var/tmp in periodic.conf?

2012-11-29 Thread Fleuriot Damien

On Nov 29, 2012, at 5:19 PM, Gary Aitken free...@dreamchaser.org wrote:

 Any reasons why one should not clear /var/tmp via periodic.conf?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Hi Gary,


Well, /var/tmp/nginx is reason enough, for starters ;)
/var/tmp/vi.recover is another, if you use vi.

Basically, there is really no awesome reason for emptying it periodically.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: clearing /var/tmp in periodic.conf?

2012-11-29 Thread Ilya Kazakevich
Any process that stores data there would be really surprised when you clear
it:)
PHP uses tmp to store sessions and that is a good example:)

tmp may be cleaned after server restart

On Thu, Nov 29, 2012 at 8:19 PM, Gary Aitken free...@dreamchaser.orgwrote:

 Any reasons why one should not clear /var/tmp via periodic.conf?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: clearing /var/tmp in periodic.conf?

2012-11-29 Thread Jerry
On Thu, 29 Nov 2012 09:19:08 -0700
Gary Aitken articulated:

 Any reasons why one should not clear /var/tmp via periodic.conf?

From /etc/defaults/rc.conf

clear_tmp_enable=NO   # Clear /tmp at startup.
clear_tmp_X=YES   # Clear and recreate X11-related directories in /tmp

populate_var=AUTO # Set to YES to always (re)populate /var, NO to never
cleanvar_enable=YES   # Clean the /var directory


I use the first two options without any apparent problems. I have never
used the last two. Maybe someone who is more familiar with them could
explain them in more detail.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org