delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW |
X-Spam-Check-By: | sourceware.org |
Date: | Sun, 12 Feb 2012 12:11:33 +0100 |
From: | David Sastre Medina <d DOT sastre DOT medina AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Updated: base-files-4.0-7 |
Message-ID: | <20120212111133.GA16166@jethro.local.lan> |
References: | <20120210220912 DOT GD21762 AT jethro DOT local DOT lan> <4F36BCA9 DOT 804 AT acm DOT org> |
MIME-Version: | 1.0 |
In-Reply-To: | <4F36BCA9.804@acm.org> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
--vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 11, 2012 at 11:08:25AM -0800, David Rothenberger wrote: > 2/10/2012 2:09 PM, David Sastre Medina wrote: > > * Environment variable SHELL is now exported from /etc/profile. > > Improved profile_d() function in /etc/profile - Cyrille Lefevre > > cygwin.com/ml/cygwin/2011-11/msg00128.html >=20 > I'm having some troubles due to this change. I'm using bash, and the > new /etc/profile exports SHELL=3Dbash. >=20 > This breaks ssh when using a ProxyCommand. I have this in my > ~/.ssh/config file: >=20 > Host somehost > ProxyCommand ssh -q otherhost /usr/bin/nc %h %p >=20 > When I try to ssh to somehost, I get: >=20 > % ssh somehost > bash: No such file or directory > ssh_exchange_identification: Connection closed by remote host >=20 > If I set SHELL to /bin/bash (which is how it was defaulted before it > was set in /etc/profile), everything works fine. Thanks for reporting. Exporting SHELL form /etc/profile was suppossed to add functionality, not to break anything :-/ Anyway, since base-files doesn't know if your shell is /bin/bash, or /usr/local/bin/bash or any other, I think I have to remove it from /etc/profile. Will be fixed in base-files-4.0-8 Sorry for the inconvenience. --=20 Huella de clave primaria: AD8F BDC0 5A2C FD5F A179 60E7 F79B AB04 5299 EC56 --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EAREIAAYFAk83nmUACgkQ95urBFKZ7FYfNwEAgNwFkdvu6n6J5jng9JU/djsX tmJsax9jiPzmtU/SyycA/3dxJOj2Al7jXh5vlOuOXHpiiwCXqXhoa4P3XWPRBC72 =rfmS -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |