Re: openssh needs rebuild for modular X transition

2008-11-20 Thread Corinna Vinschen
On Nov 19 10:50, Yaakov (Cygwin Ports) wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256
 
 Corinna Vinschen wrote:
  I'm not talking about providing symlinks to all binaries in
  /usr/X11R6/bin, just xauth.  It's the one serious X application called
  from other applications for authentication purposes.  The current
  transition method breaks using older OpenSSH with newer X11 and vice
  versa.  That's why I think a symlink created in the postinstall script
  of the package providing xauth would be helpful.
 
 I thought we only supported the latest release of packages anyway, and
 AFAIK openssh is the only package outside of X11 that calls xauth.  But
 I hear what you're saying and keep it in mind if the issue is raised.
 
  Ultimately it's your decision of course.
 
 Once I dug further into the matter[1], I found that it doesn't help all
 that much anyway unless I revert a change in XWin.  At least this will
 make it possible, and not give people misleading warnings.
 
 [1] http://cygwin.com/ml/cygwin-xfree/2008-11/msg00154.html

Duly noted.  As I said, it's your decision.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: openssh needs rebuild for modular X transition

2008-11-19 Thread Corinna Vinschen
On Nov 16 13:12, Christopher Faylor wrote:
 On Sat, Nov 15, 2008 at 11:10:34PM -0600, Yaakov (Cygwin Ports) wrote:
 We're getting a number of bug reports that ssh has a hardcoded path to
 /usr/X11R6/bin/xauth.  As part of the X11 transition, xauth was moved to
 /usr/bin, so ssh claims not to find it.  A strings check on ssh does
 indeed show such a path as well.
 
 If this is correct, we would greatly appreciate a rebuild of openssh
 
 I've taken the liberty of binary-editing ssh.exe to change the
 hard-coded path from /usr/X11R6/bin/xauth to /usr/bin/xauth and making a
 new -9 release.  I am not going to announce this however since it's not
 my package.

Thanks for the tweak.  I think this should be fine for now.

 I have bumped the version on the source package too but have no idea if
 rebuilding openssh from source will fix the problem.  I'll leave the
 true fix to Corinna when she has a chance to rectify this for real.

The xauth path is not hardcoded per se but evaluated at configure time.
A rebuild with the new X in place should rectify this automatically.

Come to think of it, now we have two different -9 releases, one in
release and one in release-2.  That will invariably confuse me at one
point.  Maybe it is actually better to rebuild from source...


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: openssh needs rebuild for modular X transition

2008-11-19 Thread Corinna Vinschen
Yaakov, one question,

On Nov 19 11:30, Corinna Vinschen wrote:
 On Nov 16 13:12, Christopher Faylor wrote:
  On Sat, Nov 15, 2008 at 11:10:34PM -0600, Yaakov (Cygwin Ports) wrote:
  We're getting a number of bug reports that ssh has a hardcoded path to
  /usr/X11R6/bin/xauth.  As part of the X11 transition, xauth was moved to
  /usr/bin, so ssh claims not to find it.  A strings check on ssh does
  indeed show such a path as well.
  
  If this is correct, we would greatly appreciate a rebuild of openssh
  
  I've taken the liberty of binary-editing ssh.exe to change the
  hard-coded path from /usr/X11R6/bin/xauth to /usr/bin/xauth and making a
  new -9 release.  I am not going to announce this however since it's not
  my package.
 
 Thanks for the tweak.  I think this should be fine for now.
 
  I have bumped the version on the source package too but have no idea if
  rebuilding openssh from source will fix the problem.  I'll leave the
  true fix to Corinna when she has a chance to rectify this for real.
 
 The xauth path is not hardcoded per se but evaluated at configure time.
 A rebuild with the new X in place should rectify this automatically.
 
 Come to think of it, now we have two different -9 releases, one in
 release and one in release-2.  That will invariably confuse me at one
 point.  Maybe it is actually better to rebuild from source...

Wouldn't it make sense to create a symlink /usr/X11R6/bin/xauth
additionally for backward compatibility as it exists on some Linux
systems?  Openssh might not be the only affected application.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: openssh needs rebuild for modular X transition

2008-11-19 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Corinna Vinschen wrote:
 Wouldn't it make sense to create a symlink /usr/X11R6/bin/xauth
 additionally for backward compatibility as it exists on some Linux
 systems?  Openssh might not be the only affected application.

I'm not about to rebuild dozens of X11 programs just to provide such
symlinks. :-)

When Gentoo underwent the /usr/X11R6 - /usr transition a few years
back, they made the /usr/X11R6/ directory a symlink to /usr.
Unfortunately I was unable to do the same because other packages not
technically part of X11 were still using the obsolete prefix[1], so it
wouldn't necessarily have been empty after the upgrade.

[1] http://cygwin.com/ml/cygwin-apps/2008-11/msg00078.html


Yaakov
Cygwin/X
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkkkNM0ACgkQpiWmPGlmQSMV2ACgjB/TML7SE9Kg9WLAP0z0doFj
CI8AoJ6lN3Lz56bSu+gagQypttgGTbN2
=TqfN
-END PGP SIGNATURE-

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: openssh needs rebuild for modular X transition

2008-11-19 Thread Corinna Vinschen
On Nov 19 09:46, Yaakov (Cygwin Ports) wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256
 
 Corinna Vinschen wrote:
  Wouldn't it make sense to create a symlink /usr/X11R6/bin/xauth
  additionally for backward compatibility as it exists on some Linux
  systems?  Openssh might not be the only affected application.
 
 I'm not about to rebuild dozens of X11 programs just to provide such
 symlinks. :-)

I'm not talking about providing symlinks to all binaries in
/usr/X11R6/bin, just xauth.  It's the one serious X application called
from other applications for authentication purposes.  The current
transition method breaks using older OpenSSH with newer X11 and vice
versa.  That's why I think a symlink created in the postinstall script
of the package providing xauth would be helpful.

Ultimately it's your decision of course.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: openssh needs rebuild for modular X transition

2008-11-19 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Corinna Vinschen wrote:
 I'm not talking about providing symlinks to all binaries in
 /usr/X11R6/bin, just xauth.  It's the one serious X application called
 from other applications for authentication purposes.  The current
 transition method breaks using older OpenSSH with newer X11 and vice
 versa.  That's why I think a symlink created in the postinstall script
 of the package providing xauth would be helpful.

I thought we only supported the latest release of packages anyway, and
AFAIK openssh is the only package outside of X11 that calls xauth.  But
I hear what you're saying and keep it in mind if the issue is raised.

 Ultimately it's your decision of course.

Once I dug further into the matter[1], I found that it doesn't help all
that much anyway unless I revert a change in XWin.  At least this will
make it possible, and not give people misleading warnings.

[1] http://cygwin.com/ml/cygwin-xfree/2008-11/msg00154.html


Yaakov
Cygwin/X
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkkkQ84ACgkQpiWmPGlmQSPlZwCghXdcS7koxXhXzInJWhLLoDwG
GokAoO1jisj2W9ajRCJmmtfdrMzoE3EJ
=C0iV
-END PGP SIGNATURE-

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: openssh needs rebuild for modular X transition

2008-11-16 Thread Christopher Faylor
On Sat, Nov 15, 2008 at 11:10:34PM -0600, Yaakov (Cygwin Ports) wrote:
We're getting a number of bug reports that ssh has a hardcoded path to
/usr/X11R6/bin/xauth.  As part of the X11 transition, xauth was moved to
/usr/bin, so ssh claims not to find it.  A strings check on ssh does
indeed show such a path as well.

If this is correct, we would greatly appreciate a rebuild of openssh

I've taken the liberty of binary-editing ssh.exe to change the
hard-coded path from /usr/X11R6/bin/xauth to /usr/bin/xauth and making a
new -9 release.  I am not going to announce this however since it's not
my package.

I have bumped the version on the source package too but have no idea if
rebuilding openssh from source will fix the problem.  I'll leave the
true fix to Corinna when she has a chance to rectify this for real.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



openssh needs rebuild for modular X transition

2008-11-15 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Corinna,

We're getting a number of bug reports that ssh has a hardcoded path to
/usr/X11R6/bin/xauth.  As part of the X11 transition, xauth was moved to
/usr/bin, so ssh claims not to find it.  A strings check on ssh does
indeed show such a path as well.

If this is correct, we would greatly appreciate a rebuild of openssh
ASAP.  Thanks,


Yaakov
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkkfq0oACgkQpiWmPGlmQSN65ACeNrQ7rQs2S+R8Ll4/4ApjuxUs
4e4AnR3hYHyJ4qQFMnRn2//FfMcMPzbM
=mmGh
-END PGP SIGNATURE-

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/