From nobody@FreeBSD.org  Sat Jan 12 18:49:01 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C061616A417
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 12 Jan 2008 18:49:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 9973813C442
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 12 Jan 2008 18:49:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m0CIloWI039681
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 12 Jan 2008 18:47:50 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m0CIlolT039679;
	Sat, 12 Jan 2008 18:47:50 GMT
	(envelope-from nobody)
Message-Id: <200801121847.m0CIlolT039679@www.freebsd.org>
Date: Sat, 12 Jan 2008 18:47:50 GMT
From: Bengt Ahlgren <bengta@sics.se>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ssh and sshd has wrong path to xauth
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         119607
>Category:       bin
>Synopsis:       ssh and sshd has wrong path to xauth
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 12 18:50:04 UTC 2008
>Closed-Date:    Sun Jan 13 23:46:49 UTC 2008
>Last-Modified:  Sun Jan 13 23:46:49 UTC 2008
>Originator:     Bengt Ahlgren
>Release:        6.3-RC2
>Organization:
>Environment:
FreeBSD zeus.bga.sics.se 6.3-RC2 FreeBSD 6.3-RC2 #9: Thu Dec 27 19:02:00 CET 2007     bga@zeus.bga.sics.se:/usr/obj/usr/src/sys/ZEUS  amd64
>Description:
ssh and sshd has incorrect path to xauth:

[bga@zeus ~]$ strings `which ssh` | grep xauth
xauthlocation
/usr/X11R6/bin/xauth
No xauth program.
%s/xauthfile
Warning: No xauth data; using fake authentication data for X11 forwarding.
[bga@zeus ~]$ strings `which sshd` | grep xauth
xauthlocation
maxauthtries
/usr/X11R6/bin/xauth
No xauth program; cannot forward with spoofing.

>How-To-Repeat:
make buildworld without setting X11BASE
>Fix:
Merge src/crypto/openssh/pathnames.h 1.10


>Release-Note:
>Audit-Trail:

From: Kris Kennaway <kris@FreeBSD.org>
To: Bengt Ahlgren <bengta@sics.se>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: bin/119607: ssh and sshd has wrong path to xauth
Date: Sat, 12 Jan 2008 20:43:15 +0100

 Technically you are correct but /usr/X11R6 should be a symlink to 
 /usr/local on a correctly functioning FreeBSD 6.3 install.
 
 Kris

From: Bengt Ahlgren <bengta@sics.se>
To: Kris Kennaway <kris@FreeBSD.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: bin/119607: ssh and sshd has wrong path to xauth
Date: Sat, 12 Jan 2008 22:14:04 +0100

 OK, didn't know that.  I did a source upgrade from 6.2 with
 corresponding xorg ports, so /usr/X11R6 existed.  Then I removed all
 ports (and what was left of /usr/X11R6) and installed new ports.  So
 no link was created, and X11 forwarding stopped working.
 
 Thanks for a quick reply!  Feel free to close this PR then!
 
 Bengt

From: Kris Kennaway <kris@FreeBSD.org>
To: Bengt Ahlgren <bengta@sics.se>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: bin/119607: ssh and sshd has wrong path to xauth
Date: Sun, 13 Jan 2008 00:50:16 +0100

 Yeah, an upgrade from older x.org should have followed specific steps in 
 /usr/ports/UPDATING which would have created this symlink.  If 
 everything else is working then probably all you need to do is create it 
 by hand.
 
 Kris
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Jan 13 23:45:44 UTC 2008 
State-Changed-Why:  
This was a side-effect of a failed upgrade to xorg.  The submitter notes 
that it can now be closed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119607 
>Unformatted:
