delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/11/24/13:31:30

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.4.1 sourceware.org D024F3858C27
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=SystematicSw.ab.ca
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=systematicsw.ab.ca
X-Authority-Analysis: v=2.4 cv=FrgWQknq c=1 sm=1 tr=0 ts=619e84db
a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17
a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=94nOnFI1EgyDtX4ev68A:9 a=QEXdDO2ut3YA:10
a=urlNFaGu1hsA:10 a=sRI3_1zDfAgwuvI8zelB:22
Message-ID: <421ff14f-5a3a-fd0c-0e27-0d82cb4ffe9d@SystematicSw.ab.ca>
Date: Wed, 24 Nov 2021 11:30:50 -0700
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.3.2
Subject: Re: zp_man-db-update-index.dash creates C:\cygwin64\%SystemDrive%
To: cygwin AT cygwin DOT com
References: <645cbf8eca7d4451b1faa017d462235d AT severstal DOT com>
<8735nla01p DOT fsf AT Rainer DOT invalid>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Organization: Systematic Software
In-Reply-To: <8735nla01p.fsf@Rainer.invalid>
X-CMAE-Envelope: MS4xfO0NZVmAVniENH5Zs1yYS1blBAzmxNmnRO+fJ2EiBa7w1kNATLDef77/3FeU3XKfBZdpF6AueuBVrvYLIaqZuonbgQARV9BvhbqE/SlEvP+GUeOKUl6+
OQKS7YNUPC8H1qX7dRbE8IocWLXiKVW9iTFD1Tb92fcP5Of0FIooqJp53cPN1cY3i3n9kjzy+kZQSzNOMaaVI7s7/TV8WWQSjik=
X-Spam-Status: No, score=-1166.1 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=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 1AOIVUM0006118

On 2021-11-24 11:19, Achim Gratz wrote:
> Leonid Vladimirovič Mironov via Cygwin writes:
>> Recently when cygwin setup runs windows 10 started creating
>> "C:\cygwin64\%SystemDrive%\ProgramData\Microsoft\Windows\Caches"
>> folder - exactly like that, with %SystemDrive% not expanded,
>> containing the following files
> […]
>> Turned out that the culprit is the
>> /etc/postinstall/zp_man-db-update-index.dash script which runs at the
>> end of every setup session, although I couldn't figure why: it just
>> runs mandb with some fancy redirection and nothing untoward happens
>> when it is run manually and with admin privileges, but the folder in
>> question was never created until I ran mandb to create man index which
>> for some reason was not created automatically during installation, and
>> when /var/cache/man/index.db is removed which effectively disables
>> this script this folder is not created. I am baffled.
> 
> Me too.  Apparently this is some bug deep in the bowels of Windows that
> triggers when neither SystemDrive nor ProgramData are defined in the
> environment and a new console session gets created.  It seems I can work
> around getting the extra directories created by defining SystemDrive in
> a certain nonsensical way, but it really is an ugly hack; I'll have to
> see if there's a better fix.

Problem mentioned by me some time ago, may be related to this, from 
undocumented mandb handling of Windows localization catalog folders:

https://cygwin.com/pipermail/cygwin/2018-January/235776.html

which may include moving "stray cats" (also undocumented) to / [Cygwin] 
root so they get noticed and handled?

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

- Raw text -


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