X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=IUdhwDUVhhLrt7ybC/DFqUkIsphqO3729AR1LWEgIvjFttxBij0Hn
	5QOBARbb+xHbWPwT4bEtstI5X+RE7NEQPplBQoisvnoYxws03nPFMiGbbaYqy8rS
	VG8YVWyK36lTKAePJIOcVWLoqXNiRwuSJ9c0hnfZKc89t4xSJ9g960=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=SRz43OEhAuwtEVzaMdR57WIIzL4=; b=cWtY0uk1eoMcBykLnB6BqUCIRoC7
	BRD8WglqE1ZVIMHybqeJz9JpHzGHsr379iPW0GiaU4RpJ/WkIxCmJKAtW1ThotdL
	7er28mNXu+91ssGa5h2CvYYSGciyXAs5R+xydoNYqsJjW1WiECL7vtfHlooNJT9f
	oqtzJtKWl4JyXRw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.0 required=5.0 tests=AWL,BAYES_20 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Sun, 15 Feb 2015 11:05:15 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.35-0.1
Message-ID: <20150215100515.GK7225@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <announce.20150212202323.GI7818@calimero.vinschen.de> <74410B36-A057-483B-AAA3-20C15934374E@Denis-Excoffier.org> <2F8A6D52-E4D9-48D0-BC21-13213AAC9F4B@etr-usa.com> <A2F3E911-AA9A-4CFD-ACA7-9C5269339F92@Denis-Excoffier.org> <646732991.20150214022454@yandex.ru> <54DF0337.7090405@towo.net> <767189166.20150214222127@yandex.ru>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="bpVaumkpfGNUagdU"
Content-Disposition: inline
In-Reply-To: <767189166.20150214222127@yandex.ru>
User-Agent: Mutt/1.5.23 (2014-03-12)

--bpVaumkpfGNUagdU
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb 14 22:21, Andrey Repin wrote:
> Greetings, Thomas Wolff!
>=20
> > Am 14.02.2015 um 00:24 schrieb Andrey Repin:
> >>> ...
> >> I have a feeling that you have %HOME% defined before mintty starts.
> >> I just made some tests, and it seems to be the showstopper.
> >> If %HOME% is already set, nsswitch.conf:db_home is ineffective.
> >> Simple check for
> >>
> >>      SET HOME=3D
> >>      mintty -
> > I think setting HOME globally, before starting cygwin, is the most=20
> > straightforward way to configure one's home directory preference and=20
> > should thus be supported.
>=20
> Supported, allright.
> The issue seems to be contradiction between documented and observed behav=
ior
> of a specific macro. (Or specific part of the Cygwin, to that extent.)
> Setting global %HOME% to %HOMEDRIVE%%HOMEPATH% is a natural choice, but D=
enis
> seems to want a deviation of it for Cygwin specifically.

Apples/oranges.  I'm talking about the passwd entry and creating
passwd entry requires some kind of reproducability.  The environment
of the current user has nothing to do with it.  I hope
https://cygwin.com/ml/cygwin/2015-02/msg00425.html makes that clear.

> By the way,
> getent passwd %USERNAME%
> return homedir correctly, but bash insist on using existing HOME even if
> started as login shell.

Of course.  All shells do that.  They expect HOME to have a useful value
because HOME is usually set by the login process before the shell is
started.  And the login process, if there is any, fetches HOME from the
account DB.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--bpVaumkpfGNUagdU
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJU4G9aAAoJEPU2Bp2uRE+guJwQAIJBHAudxcvvs7EZmo+iaASB
Z5jxe61gPYiRdZ8DKlReNnfLk33rgRH/Tc4WnhYImTYVrxoThyi5fjQkLwU6ItUu
zoZOF/vfhnlXnQVKT7HtC3yWy/jMqpCksYwqxHYQ4QtV/BG/VZQwwwXU+2ELo+Ht
/ZKdgihAM3b7QvGjepRIE01KDw7m58JCigvX05hV7QaCnTTT2GDbyyW/bWIZ9CaB
1yRj79fPig1/KfVDF080gBVfAjp/komreghZyOei9t7SMkQ061n8rVrtg7oVCcq1
bcPETksIsTi0MVdKyJU15bWVYclBT00JUmR1b7R8+4JG/fCkqp8qIB4+3VNegkIw
1O6UAmY6T2Yy7eOGcshldxrtL2pOEgY4e8yqdMfXSShYoc/pBN+MGANszLPVovmJ
mqBGdOlIxgIQy2ChHB1Jva+THdAhqG4uqE7676zRSEJfxWEAklkwIq0tf5LUY5nD
y7IgKePApGHCISoySRkQbIc5rA4/hpRUxIpfOCrgJs38fP4HKXz/3TZJ+y0nGP4Y
hblVlTUcCZqFXpq8VlN34VO4z9mw4OSX8XfbvEb+7/8g76KxJCGMzLcMIXXPXrim
8INs5XXluszGxvxWIhCs2WFfPxn1gj8kMEH3skG0h3UOPdpLPFfG8yh+454xDSeG
8QR55INbjxvPchY26a/g
=l0sd
-----END PGP SIGNATURE-----

--bpVaumkpfGNUagdU--
