Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 2004 18:06:42 +0900 (JST)
From:      NIIMI Satoshi <sa2c@sa2c.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/75423: Prepare required directories for X.Org 6.8.1
Message-ID:  <20041223090642.1E5255C25@berkeley.l.sa2c.net>
Resent-Message-ID: <200412230910.iBN9ARBb057550@freefall.freebsd.org>

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

>Number:         75423
>Category:       conf
>Synopsis:       Prepare required directories for X.Org 6.8.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 23 09:10:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     NIIMI Satoshi
>Release:        FreeBSD 5.3-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD berkeley.l.sa2c.net 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #1: Thu Dec 2 12:12:02 JST 2004 root@berkeley.l.sa2c.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
On X.Org 6.8.1, "/tmp/.X11-unix" and "/tmp/.ICE-unix" are required to
be owned by root.  It would be nice to make "/tmp/.ICE-unix" at boot
time and to mark these directories not to be deleted by default at
daily script.
	
>How-To-Repeat:
	
>Fix:

	

--- patch begins here ---
Index: etc/defaults/periodic.conf
===================================================================
RCS file: /home/ncvs/src/etc/defaults/periodic.conf,v
retrieving revision 1.31
diff -u -d -u -r1.31 periodic.conf
--- etc/defaults/periodic.conf	24 Nov 2004 18:41:53 -0000	1.31
+++ etc/defaults/periodic.conf	23 Dec 2004 08:53:31 -0000
@@ -42,7 +42,7 @@
 daily_clean_tmps_enable="NO"				# Delete stuff daily
 daily_clean_tmps_dirs="/tmp"				# Delete under here
 daily_clean_tmps_days="3"				# If not accessed for
-daily_clean_tmps_ignore=".X*-lock quota.user quota.group" # Don't delete these
+daily_clean_tmps_ignore=".X*-lock .X11-unix .ICE-unix quota.user quota.group" # Don't delete these
 daily_clean_tmps_verbose="YES"				# Mention files deleted
 
 # 120.clean-preserve
Index: etc/rc.d/cleartmp
===================================================================
RCS file: /home/ncvs/src/etc/rc.d/cleartmp,v
retrieving revision 1.11
diff -u -d -u -r1.11 cleartmp
--- etc/rc.d/cleartmp	7 Oct 2004 13:55:25 -0000	1.11
+++ etc/rc.d/cleartmp	23 Dec 2004 08:54:21 -0000
@@ -37,3 +37,5 @@
 rm -f /tmp/.X[0-9]-lock
 rm -fr /tmp/.X11-unix
 mkdir -m 1777 /tmp/.X11-unix
+rm -fr /tmp/.ICE-unix
+mkdir -m 1777 /tmp/.ICE-unix
--- patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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