From josemi@freebsd.jazztel.es Thu Dec 30 10:16:32 2004 Return-Path: Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9B2B16A4CE for ; Thu, 30 Dec 2004 10:16:32 +0000 (GMT) Received: from 212.106.252.179.adsl.jazztel.es (212.106.252.179.adsl.jazztel.es [212.106.252.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 981DD43D5D for ; Thu, 30 Dec 2004 10:16:31 +0000 (GMT) (envelope-from josemi@freebsd.jazztel.es) Received: from redesjm.local (orion.redesjm.local [192.168.254.16]) by 212.106.252.179.adsl.jazztel.es (8.13.1/8.13.1) with ESMTP id iBUAGTx5030268 for ; Thu, 30 Dec 2004 11:16:29 +0100 (CET) (envelope-from freebsd@redesjm.local) Received: (from freebsd@localhost) by redesjm.local (8.13.1/8.13.1/Submit) id iBUAGTng001240; Thu, 30 Dec 2004 11:16:29 +0100 (CET) (envelope-from freebsd) Message-Id: <200412301016.iBUAGTng001240@redesjm.local> Date: Thu, 30 Dec 2004 11:16:29 +0100 (CET) From: Jose M Rodriguez Reply-To: Jose M Rodriguez To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: adapt etc/rc.d/cleartmp to new XFree86/xorg ports X-Send-Pr-Version: 3.113 X-GNATS-Notify: >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: closed >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Dec 30 10:20:22 GMT 2004 >Closed-Date: Mon Jan 17 04:38:02 GMT 2005 >Last-Modified: Mon Jan 17 04:38:02 GMT 2005 >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 , 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: State-Changed-From-To: open->closed State-Changed-By: anholt State-Changed-When: Mon Jan 17 04:37:23 GMT 2005 State-Changed-Why: A similar patch was already committed. http://www.freebsd.org/cgi/query-pr.cgi?pr=75649 >Unformatted: