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 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 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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--