delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/03/03/07:05:13

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D419A3954407
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=yandex.ru
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=anrdaemon AT yandex DOT ru
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
t=1614773102; bh=vbKPC3OAIGUizSAd1+5wc1iA/uPOif23CVwLyHLmyUs=;
h=In-Reply-To:Subject:To:From:Message-ID:References:Date:Reply-To;
b=rBNJvGWlvqou5mh9mu1Ny8o0gBS4rLdF692rdLIXn24WFB8Ycc4CcCHCuYAmptiKs
G9LHV4N09oXDJKAspcC5cnztmxlB6m0UymH+YmL+n7XlCU12HSedxL+N5r69e0cZs9
qd5eEeiP5JENHM755AQG+aeg4EmbqsV8O+bWHJ3E=
Authentication-Results: myt6-9cfe67cfd141.qloud-c.yandex.net;
dkim=pass header.i=@yandex.ru
Date: Wed, 3 Mar 2021 14:55:35 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v6.8.8) Home
X-Priority: 3 (Normal)
Message-ID: <1097399271.20210303145535@yandex.ru>
To: "KAVALAGIOS Panagiotis (EEAS-EXT)"
<Panagiotis DOT KAVALAGIOS AT ext DOT eeas DOT europa DOT eu>,
cygwin AT cygwin DOT com
Subject: Re: Home directory was not created
In-Reply-To: <0d21a331911b4733a5e638a7c72d7ee2@BELBRU-EXMP101.eeas.europa.eu>
References: <bcd11439517f40ab91cc2673a62f4d5d AT BELBRU-EXMP104 DOT eeas DOT europa DOT eu>
<65851a08-a0d3-4fca-a956-77cf73459180 AT SystematicSw DOT ab DOT ca>
<24934718098a4d26a65b68ef62f3b46e AT BELBRU-EXMP101 DOT eeas DOT europa DOT eu>
<4125b749-86de-ae02-43d9-16ff5a8565cd AT SystematicSw DOT ab DOT ca>
<0d21a331911b4733a5e638a7c72d7ee2 AT BELBRU-EXMP101 DOT eeas DOT europa DOT eu>
MIME-Version: 1.0
X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS,
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Greetings, KAVALAGIOS Panagiotis (EEAS-EXT)!

>> 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.

> The installation is performed by powershell script that runs with the super
> admin (system user/nt authority) from local repository that normally
> bypasses all those kind of AV restrictions. I start it from the Cygwin icon
> that runs mintty under the hood. I don't know who took those 8KB from the
> script's shared memory, but indeed it looks like a BLODA interference. I
> will ask the package to be re-installed.

In such (administrative install) case, the Cygwin user directories should be
redirected, f.e. to the user's profile, IMO.
See nsswitch.conf for examples and possible options of such redirection.

> We are running Cygwin from "C:\Program Files" for years without issue.

Coincidence, I'm sure.

> A space in the directory name is a very supported character for Unix and
> Unix-like systems as well.

Except script writers rarely account for that. Unfortunately.


-- 
With best regards,
Andrey Repin
Wednesday, March 3, 2021 14:52:49

Sorry for my terrible english...

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019