From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 26 14:10:06 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 17C7A16A421 for ; Sat, 26 May 2007 14:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id EDC8D13C48A for ; Sat, 26 May 2007 14:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4QEA5rS036658 for ; Sat, 26 May 2007 14:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4QEA5wr036657; Sat, 26 May 2007 14:10:05 GMT (envelope-from gnats) Resent-Date: Sat, 26 May 2007 14:10:05 GMT Resent-Message-Id: <200705261410.l4QEA5wr036657@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jonathan Liu Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D4C8416A421 for ; Sat, 26 May 2007 14:02:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id C5EC013C43E for ; Sat, 26 May 2007 14:02:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l4QE2g4h053030 for ; Sat, 26 May 2007 14:02:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l4QE2grr053026; Sat, 26 May 2007 14:02:42 GMT (envelope-from nobody) Message-Id: <200705261402.l4QE2grr053026@www.freebsd.org> Date: Sat, 26 May 2007 14:02:42 GMT From: Jonathan Liu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/113029: [patch] [x11/xdm] xdm-1.1.4_1 - Xstartup and Xreset refer to undefined XDMCONFIGDIR X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2007 14:10:06 -0000 >Number: 113029 >Category: ports >Synopsis: [patch] [x11/xdm] xdm-1.1.4_1 - Xstartup and Xreset refer to undefined XDMCONFIGDIR >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 26 14:10:05 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Jonathan Liu >Release: 6.2-RELEASE >Organization: >Environment: FreeBSD freebsd 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:40:53 UTC 2007 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: XDM tries to access the Xservers file in directory 'XDMCONFIGDIR' which is not defined. I am using X.Org 7.2 built using ports on a clean installation without X11 installed. Patch might break compatibility with previous versions of X.Org? >How-To-Repeat: Enable XDMCP and try to login using XDMCP query. >Fix: --- Xreset.orig Sat May 26 04:35:58 2007 +++ Xreset Sat May 26 23:54:13 2007 @@ -1,4 +1,4 @@ #!/bin/sh # Deregister a login. (Derived from TakeConsole as follows:) # -/usr/local/bin/sessreg -d -w "/var/log/wtmp" -u "/var/run/utmp" -x "XDMCONFIGDIR/Xservers" -l $DISPLAY -h "" $USER +/usr/local/bin/sessreg -d -w "/var/log/wtmp" -u "/var/run/utmp" -x "/usr/local/lib/X11/xdm/Xservers" -l $DISPLAY -h "" $USER --- Xstartup.orig Sat May 26 04:35:58 2007 +++ Xstartup Sat May 26 23:51:55 2007 @@ -1,4 +1,4 @@ #!/bin/sh # Register a login (derived from GiveConsole as follows:) # -/usr/local/bin/sessreg -a -w "/var/log/wtmp" -u "/var/run/utmp" -x "XDMCONFIGDIR/Xservers" -l $DISPLAY -h "" $USER +/usr/local/bin/sessreg -a -w "/var/log/wtmp" -u "/var/run/utmp" -x "/usr/local/lib/X11/xdm/Xservers" -l $DISPLAY -h "" $USER >Release-Note: >Audit-Trail: >Unformatted: