delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/03/03/07:59:15

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 A05F73950417
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=ext.eeas.europa.eu
Authentication-Results: sourceware.org; spf=pass
smtp.mailfrom=Panagiotis DOT KAVALAGIOS AT ext DOT eeas DOT europa DOT eu
From: "KAVALAGIOS Panagiotis (EEAS-EXT)"
<Panagiotis DOT KAVALAGIOS AT ext DOT eeas DOT europa DOT eu>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: Home directory was not created
Thread-Topic: Home directory was not created
Thread-Index: AdcOr1U2Jt/TaCguQv2GXvAbfXSQlgACeNGAAB5TOgAAAgvFoAAUrjiAABvRnsAAB8JFgAADxqVw
Date: Wed, 3 Mar 2021 12:59:06 +0000
Message-ID: <c86e0933ca704bf4821c13b06bfd4292@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>
<1097399271 DOT 20210303145535 AT yandex DOT ru>
In-Reply-To: <1097399271.20210303145535@yandex.ru>
Accept-Language: en-GB, el-GR, en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.51.5.118]
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761
definitions=2021-03-03_03:2021-03-03,
2021-03-03 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam
score=0 mlxscore=0
bulkscore=0 phishscore=0 impostorscore=0 priorityscore=1501
mlxlogscore=651 suspectscore=0 malwarescore=0 adultscore=0 spamscore=0
clxscore=1015 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx
scancount=1 engine=8.12.0-2009150000 definitions=main-2103030097
X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,
SPF_PASS, TXREP autolearn=ham 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-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>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

> -----Original Message-----
> From: Andrey Repin <anrdaemon AT yandex DOT ru>
> Sent: 03 March 2021 12:56
> 
> 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.

Yes, I am aware of this, but I prefer separate home directories to avoid confusion with the Windows programs. For example, we have Git for Windows and Git of Cygwin. The former consults %USERPROFILE%\.gitconfig and the latter $HOME/.gitconfig. You might need to set different options according to the environment you are running git and if they are the same, this is not possible.

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

That's true, but instead of advising for non-space installation paths, let's all install Cygwin under a space-containing path and identify all those individual cases. The space character in the path deserves more respect :)

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