X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CD5093858402
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=smorra-it.de
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=smorra-it.de
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=smorra-it.de; s=20191106;
 h=content-transfer-encoding:content-type:mime-version:date:message-id:subject:
 from:to:from; bh=hjLsa+blUoiPoW1R8W45EslaI/8vyEjXmowG8kFMKic=;
 b=Fd/NsrJRnUJ9bWJ5kIZT2zJ5TuDQZE3e0UxYFwMGgiIpOZYK48+mNt3IdaOQy7JKbxFi8bsBfOf27
 0zfJEVum90+b4NaSYOfd24rPAAl3bWvYppAlHa10excjE2yh0IfhGUdSkzz26GVmbBVJEkCBG4Ka7o
 6Epw6f8GpGLi7nM0s6o3XSR8l/v7lOH61c7FwCRzYtkBHH8n5Lgfs/yaO6BsK/dbJOB5SfFiuWzsdK
 6ItONhRjYi9zvkct36R8td8yfni2pp9odCIfdPb96NciWAdkjdM7MDCDFa/8C+VK6Skz82tejt7HdX
 Zrp05L9KG4NLOlDKj7xrcdyF38VDYUg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smorra-it.de; s=rsa1;
 h=content-transfer-encoding:content-type:mime-version:date:message-id:subject:
 from:to:from; bh=hjLsa+blUoiPoW1R8W45EslaI/8vyEjXmowG8kFMKic=;
 b=xe4X1T5ZU4ZpwIS/RP+dgr1Rk4DB4gwr84IzcJxPyTtrVBo6GrxNLGZYUGlpLeBFu71Dv0Z9n28f4
 uJ2RX1HskHkrrnHyVg5U5Dz5wJ1OZ/oXzIMqKB1M2JkSy7JgNqoP2lwdvyKMIfrglUx79zOsft9Cqv
 sgP/3L5Ey2qAkAjQC5xkthJU1yAHhRElmXxs8VFy9SmnIJvEjd7nRHB0OoPz2Ah5FH28OV2gw9QUK4
 4jfzWt6jCnRQXejJhB8IPQinrP5P/pGKqXjqaQnphib63/j+GEoXL0uPnV2QATm8x9XZkrTQf/no2y
 yDvfXXGV/ILai4E7Td4bMc50z4RR5yw==
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed;
 d=smorra-it.de; s=ed1;
 h=content-transfer-encoding:content-type:mime-version:date:message-id:subject:
 from:to:from; bh=hjLsa+blUoiPoW1R8W45EslaI/8vyEjXmowG8kFMKic=;
 b=VhT1F0ZYpCYnOOKeJzNU5BZZUyKl/CgzTmD9YcJsSJi0JHKc8/k8tfVf4A2igfQQ/k5QT5l/KTYM9
 nG5V7qxCQ==
X-HalOne-Cookie: 8bbc40c1e48e744c73a5042d04474b5e8aef27d6
X-HalOne-ID: 2b49ed85-51bd-11ec-b7dd-d0431ea8a283
To: cygwin@cygwin.com
From: Stefan Smorra <stefan@smorra-it.de>
Subject: Cygwin installer does not terminate
Message-ID: <efacc365-2a3c-3bdb-6f20-d45fdc453af3@smorra-it.de>
Date: Tue, 30 Nov 2021 10:09:05 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.14.0
MIME-Version: 1.0
Content-Language: en-US
X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE,
 RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,
 SPF_PASS 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@cygwin.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@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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

Hello,

I am running the x86 installer under 64bit Windows 10 (as administrator) 
as follows:

setup-x86.exe -q -P rsync -R C:\smo-cygwin


-q is quiet

"-P rsync" means install rsync package

"-R C:\smo-cygwin" is the destination installation path


The problem is that the installer does not terminate. It stays open in 
the background (hidden) what can be seen in the task manager.

Also it's consuming 90% CPU and the generated log file under 
C:\smo-cygwin\var\log\setup.log is about 12GiB after 5min.

The log file looks like this:

...
2021/11/29 13:21:38 Changing gid back to original
...
2021/11/29 13:22:05 running: C:\smo-cygwin\bin\dash.exe 
"/etc/postinstall/zp_man-db-update-index.dash"
2021/11/29 13:22:05 Changing gid to AdministratorsEnding cygwin install
...

The line "Changing gid to AdministratorsEnding cygwin install" then 
appears millions of times. It never ends and there are no other log 
lines coming.

Note that this only happens if I run the installer as administrator.


There seems to be problem when the installer changes gid. This can be 
seen in the log. The fact that it only happens if the installer is run 
as administrator approves this.

I also created a stackoverflow thread here 
https://superuser.com/questions/1689682/cygwin-installer-does-not-terminate-if-run-as-administrator


Best Regards

Stefan


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