Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 2004 11:16:29 +0100 (CET)
From:      Jose M Rodriguez <josemi@freebsd.jazztel.es>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/75649: adapt etc/rc.d/cleartmp to new XFree86/xorg ports
Message-ID:  <200412301016.iBUAGTng001240@redesjm.local>
Resent-Message-ID: <200412301020.iBUAKNGb037351@freefall.freebsd.org>

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

>Number:         75649
>Category:       conf
>Synopsis:       adapt etc/rc.d/cleartmp to new XFree86/xorg ports
>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 30 10:20:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jose M Rodriguez
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
Redes JM
>Environment:
System: FreeBSD orion.redesjm.local 5.3-STABLE FreeBSD 5.3-STABLE #0: Wed Dec 29 19:50:11 CET 2004 root@antares.redesjm.local:/usr/obj/usr/src/sys/ORION i386

>Description:
	New versions of XFree86/xorg needs correct directories under /tmp
	Xserver -> /tmp/.X11-unix
	wm -> /tmp/.ICE-unix
	font server -> /tmp/.font-unix

	all owned by root and mod 01777

	This path is original from Pawel Worach <pawel.worach@telia.com>,
	but I can't locate any PR on this.

>How-To-Repeat:
	You may find something on the maillist about how to repeat this
	with xorg 6.8.1

>Fix:

	I'm not sure this is the correct way to handle this.

	I launch PR ports/74002 also, but this is not the way
	I'll close it and launch a mixed aproach in a new PR

	This content installed in the PR/74002 form, but from xorg-libs.

	Allthout this seems not an issue with actual XFree86 ports, I'll
	send-pr this to XFree86-4-libs for safety.

	If this is take, bump OS_VERSION and send mail to me/x11, so
	ports based scripts will not be installed upon that. 

--- patch-cleartmp begins here ---
--- etc/rc.d/cleartmp.orig	Thu Dec 30 10:48:32 2004
+++ etc/rc.d/cleartmp	Thu Dec 30 10:56:15 2004
@@ -35,5 +35,8 @@
 # restarting X
 #
 rm -f /tmp/.X[0-9]-lock
-rm -fr /tmp/.X11-unix
-mkdir -m 1777 /tmp/.X11-unix
+
+#
+# new versions of XFree86/xorg needs correct dirs on /tmp
+rm -fr /tmp/.X11-unix /tmp/.ICE-unix /tmp/.font-unix
+mkdir -m 1777 /tmp/.X11-unix /tmp/.ICE-unix /tmp/.font-unix
--- patch-cleartmp ends here ---


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



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