X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BEC7338708BC
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
 header.from=SystematicSw.ab.ca
Authentication-Results: sourceware.org;
 spf=none smtp.mailfrom=brian.inglis@systematicsw.ab.ca
X-Authority-Analysis: v=2.4 cv=MaypB7zf c=1 sm=1 tr=0 ts=603e8a76
 a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17
 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=uYT-Tk0qkVT609LjNaIA:9 a=QEXdDO2ut3YA:10
 a=sRI3_1zDfAgwuvI8zelB:22
Subject: Re: Home directory was not created
To: cygwin@cygwin.com
References: <bcd11439517f40ab91cc2673a62f4d5d@BELBRU-EXMP104.eeas.europa.eu>
 <65851a08-a0d3-4fca-a956-77cf73459180@SystematicSw.ab.ca>
 <24934718098a4d26a65b68ef62f3b46e@BELBRU-EXMP101.eeas.europa.eu>
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Organization: Systematic Software
Message-ID: <4125b749-86de-ae02-43d9-16ff5a8565cd@SystematicSw.ab.ca>
Date: Tue, 2 Mar 2021 11:56:53 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
 Thunderbird/78.8.0
MIME-Version: 1.0
In-Reply-To: <24934718098a4d26a65b68ef62f3b46e@BELBRU-EXMP101.eeas.europa.eu>
Content-Language: en-CA
X-CMAE-Envelope: MS4xfERaW2cDWENKh+N9VQtFNfFIS/n8VEIKpgtq86B98doOLbb9//cUtAtIdf7Ya1QtjEPugB2jMTgAC7TXPWuuy38389Ax9SXo7AQ+c9HsXQbmBAiUxkP3
 VpT35okKL+6ZlUR7B5B/gRlDwENZ8a0v260elshT5LRhiDhQbrxgBH3HgLcgbZADiAL73uffW1mFxe1Y9gy/BL6JCUqrvjievFI=
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL,
 RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,
 SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Reply-To: cygwin@cygwin.com
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

On 2021-03-02 01:08, KAVALAGIOS Panagiotis (EEAS-EXT) wrote:
> -----Original Message-----
> From: KAVALAGIOS Panagiotis (EEAS-EXT)
> Sent: 02 March 2021 08:15
> To: cygwin@cygwin.com
> Subject: RE: Home directory was not created
> 
>> -----Original Message-----
>> From: On Behalf Of Brian Inglis
>> Sent: 01 March 2021 18:38
>>
>> On 2021-03-01 08:33, KAVALAGIOS Panagiotis (EEAS-EXT) wrote:
>>> Something went wrong to my Cygwin installation update (update is
>>> performed by removing everything and installing again the new
>>> version). The home directory of my user was not created, when you
>>> run
>> Cygwin for the first time.
>>> When I start Cygwin it defaults to the evil C:\Windows\System32!?!?
>>> -bash-4.4$ pwd
>>> /cygdrive/c/WINDOWS/System32
>>> -bash-4.4$ cd
>>> -bash: cd: /home/kavalpa: No such file or directory -bash-4.4$ How
>>> this can be fixed in proper way, without causing any permission issues.
>>
>> By figuring out what went wrong during setup.
>> Please respond attaching /var/log/setup.log.full and terminal or
>> console log if possible.
>>
>> Otherwise just run setup-x86/_64 [-g] to upgrade without wiping
>> everything to avoid such problems.
> 
> The log is attached. I couldn't see any error except for the libgpg-error0 package that matches the "error" search term :)
> 
> The home directory is created afterwards anyway at the first Cygwin execution, if it does not exist. Are you sure it is an installation error? I would rather avoid re-installing and fix the issue by creating the conditions and force Cygwin to create the home directory.

> [Hi Brian, I apologise for this personal e-mail. I have tried to send it twice to the list to no avail. It's not HTML and it does not appear to list's mail archive either. I have no idea what is going wrong.]

> zip 358KB > 256KB too big I think

All postinstall steps failed because of BLODA or installation path:

2021/02/09 17:48:06 running: C:\Program Files\Cygwin\bin\dash.exe 
"/etc/postinstall/0p_000_autorebase.dash"
       0 [main] dash (2296) shared_info::initialize: size of shared memory 
region changed from 49080 to 40888
2021/02/09 17:48:20 abnormal exit: exit code=-1073741819
...

Installing under Program\ Files causes issues because of space in path names and 
BLODA-like AV protections on those paths.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
