Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 1997 19:36:33 +0400 (MSD)
From:      Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   conf/3605: New /etc/rc not clearing /tmp
Message-ID:  <199705161536.TAA20943@arc.hq.cti.ru>
Resent-Message-ID: <199705161540.IAA04387@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3605
>Category:       conf
>Synopsis:       New /etc/rc not clearing /tmp
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 16 08:40:01 PDT 1997
>Last-Modified:
>Originator:     Dmitrij Tejblum
>Organization:
CompTek
>Release:        FreeBSD 2.2-STABLE i386
>Environment:


>Description:

The following lines was excluded from /etc/rc. It probably caused
my troubles with starting X. 

echo clearing /tmp

# prune quickly with one rm, then use find to clean up /tmp/[lq]*
# (not needed with mfs /tmp, but doesn't hurt there...)
(cd /tmp && rm -rf [a-km-pr-zA-Z]* &&
    find -d . ! -name . ! -name lost+found ! -name quotas -exec rm -rf -- {} \;)

# The above is even more stupid since it prevents you from restarting
# X11 after a system crash.  If you disable the above, make sure to
# uncomment the line below.
#
# clean up leftover X lock files and local connection sockets
#rm -f /tmp/.X*-lock /tmp/.X11-unix/*


>How-To-Repeat:


>Fix:
	
Restore the code.

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705161536.TAA20943>