Bug 113031 - update port: x11/xdm: SSH_AUTH_SOCK would not set under using with pam_ssh
Summary: update port: x11/xdm: SSH_AUTH_SOCK would not set under using with pam_ssh
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-26 17:50 UTC by Yoshihiko Sarumaru
Modified: 2007-06-07 21:17 UTC (History)
0 users

See Also:


Attachments
file.diff (460 bytes, patch)
2007-05-26 17:50 UTC, Yoshihiko Sarumaru
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yoshihiko Sarumaru 2007-05-26 17:50:02 UTC
	I have been used xorg 6.9 on my FreeBSD box.
	Until I upgraded it to 7.2, after pam_ssh authentication, SSH_AUTH_SOCK 
	environmental variable was inhelited to all the application executed by
	~/.xsession (typically xterm).
	But from xorg 7.2, SSH_AUTH_SOCK will not be set even though ssh-agent
	is launched by xdm via PAM subsystem.

	You can access more detail at:
	https://bugs.freedesktop.org/show_bug.cgi?id=11020

Fix: This patch was provided by an xorg developer (see above Bugzilla URL)
	and already committed to the main line.
How-To-Repeat: 	enable pam_ssh for xdm, then restaert xdm and login with SSH passphrase.
Comment 1 Edwin Groothuis freebsd_committer 2007-05-26 17:50:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-x11

Over to maintainer
Comment 2 dfilter service freebsd_committer 2007-06-07 20:49:09 UTC
lesi        2007-06-07 19:48:59 UTC

  FreeBSD ports repository

  Modified files:
    x11/xdm              Makefile 
  Added files:
    x11/xdm/files        patch-session.c 
  Log:
  - Restore inheriting environment from login.conf by restoring patch
    from x11/xorg-clients [1]
  - Restore inheriting SSH_AUTH_SOCK after pam_ssh authentication
    (https://bugs.freedesktop.org/show_bug.cgi?id=11020) [2]
  
  PR:             ports/112932 [1], ports/113031 [2]
  Obtained from:  X.org git [2]
  
  Revision  Changes    Path
  1.2       +1 -1      ports/x11/xdm/Makefile
  1.1       +43 -0     ports/x11/xdm/files/patch-session.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 lesi freebsd_committer 2007-06-07 21:17:33 UTC
State Changed
From-To: open->closed

Committed. Thanks!