From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17075 invoked by alias); 30 May 2016 08:32:41 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 17059 invoked by uid 89); 30 May 2016 08:32:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-95.8 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=Kalker, Alain, kalker, $path X-HELO: calimero.vinschen.de Received: from ipbcc0227e.dynamic.kabel-deutschland.de (HELO calimero.vinschen.de) (188.192.34.126) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 30 May 2016 08:32:39 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 08656A805D3; Mon, 30 May 2016 10:32:37 +0200 (CEST) Date: Mon, 30 May 2016 09:27:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: cygcheck.exe: duplicate path and other entries when run from an SSH session Message-ID: <20160530083237.GD12694@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <935c1612-d38f-0f86-0183-e1c794f8d1cb@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Xm/fll+QQv+hsKip" Content-Disposition: inline In-Reply-To: <935c1612-d38f-0f86-0183-e1c794f8d1cb@gmail.com> User-Agent: Mutt/1.6.1 (2016-04-27) X-SW-Source: 2016-05/txt/msg00396.txt.bz2 --Xm/fll+QQv+hsKip Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1666 On May 27 20:00, Alain Kalker wrote: > When I run `cygcheck -s -v -r > cygcheck.out` when connecting via SSH, the > resulting file shows a duplicate path entry as well as other duplicate > entries. >=20 > Steps to reproduce: >=20 > - Locally in a Cygwin Terminal, run: `cygcheck -s -v -r > cygcheck1.out` > - Connect via SSH to the machine with Cygwin installed: `ssh user@cygwinb= ox` > - In the SSH session: run `cygcheck -s -v -r > cygcheck2.out` > - Compare: `diff -u cygcheck{1,2}.out` >=20 > A snippet of the output from `diff -u cygcheck{1,2}.out` on my system: >=20 > --[snip]-- > --- cygcheck1.out 2016-05-27 19:52:12.442102521 +0200 > +++ cygcheck2.out 2016-05-27 19:52:12.525435198 +0200 > @@ -1,30 +1,24 @@ >=20 > Cygwin Configuration Diagnostics > -Current System Time: Fri May 27 17:52:52 2016 > +Current System Time: Fri May 27 17:53:18 2016 >=20 > Windows 10 Home Ver 10.0 Build 10586 >=20 > Path: C:\cygwin64\usr\local\bin > C:\cygwin64\bin > + C:\cygwin64\bin In Cygwin, /bin and /usr/bin point to the same directory. If you have both in $PATH, they translate to the same Windows dir. > C:\WINDOWS\system32 > C:\WINDOWS > C:\WINDOWS\System32\Wbem > C:\WINDOWS\System32\WindowsPowerShell\v1.0 > --[snip]-- >=20 > As an aside: it would be nice if the list of environment variables in > cygcheck output were sorted, this makes it easier to spot differences > between runs. Sure, why not. Does somebody want to provide a patch? Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --Xm/fll+QQv+hsKip Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXS/qkAAoJEPU2Bp2uRE+gTPoQAJ6cPeC0+JsfmOkbNKlp/UI+ sZHMzEGGtUwvgWwKQwVjJSV2xsF/PwWLWRZYCF3CafZtZmSOM2bicYjD0vAZGf+k lmPDc3ZjOG5OVQQQWOeZjh71ZSd6AtxcYiiQrLWUaclFd1IECKaMGkzX5g12tcR+ WRxjb4xcYx+TfqNneg/Y8Am2K+NSQ6BK9rCrr9x40mut6TMevafNy2W/pLa7IEx8 6ErHjnj6McINNBHXo7I2XVFlPuIEkB2SyXYYOQuWTU/BEt+QmGxy0TmbHEg17NN/ 2lDo96YiEpPFDK9KteeCFIfKErw2ReDIa83FNipq9Rp0YLJspVSiyFcd8M/UFiO8 ngODPcrnWdKdl4UsnS3x7I8zGJRIzsmjJNEFVjBbPi5RSfUWmQ/kDbmVrmhDUAG3 J9fkH6Gh3uWJ2eCHpBHMXbdsqGQWFAu/JUQHKLNkpg7VUgvapRc1SUBmmj4zvCdk tib183GHTgtJV+44VPLfXdieXQyRNOPREGBaR0Thuy53BtBDuy+2uc/0E9/IyGIy R4PnpyTLEDdqOcSYIKqT09yNn8qPZUOUy7VWe8SYhE1f51qUkcGxqSIkkUAZye9l E2IaK7D5ieu5XH5ZXSIMXe0rgGWShyz8PTTt10L9OHGHfk9Xem4FuCG3XMu5R1MD 8kU0YM+OUORjp/GqNWls =BzBT -----END PGP SIGNATURE----- --Xm/fll+QQv+hsKip--