From owner-freebsd-bugs@FreeBSD.ORG Thu Dec 30 10:20:23 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7431D16A4CE for ; Thu, 30 Dec 2004 10:20:23 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4669043D49 for ; Thu, 30 Dec 2004 10:20:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iBUAKN1T037352 for ; Thu, 30 Dec 2004 10:20:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iBUAKNGb037351; Thu, 30 Dec 2004 10:20:23 GMT (envelope-from gnats) Resent-Date: Thu, 30 Dec 2004 10:20:23 GMT Resent-Message-Id: <200412301020.iBUAKNGb037351@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jose M Rodriguez 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]) 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: conf/75649: adapt etc/rc.d/cleartmp to new XFree86/xorg ports X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jose M Rodriguez List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2004 10:20:23 -0000 >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 , 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: