DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 54DDXwwP1818049 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 54DDXwwP1818049 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=wAlmNXIn X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 289343858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1747143237; bh=id2IxY1XJy1tMFfbi9oPSCvkX3ZEFkp1t8Fxlr07Gt8=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=wAlmNXInnmruC9zraHBvDs3EpRLEwOHR8CrnJj/8hdev7d7Xo0ST+g/N7QOhRDnAt iW7BDb1ie/LTAHs8jK/0t2aAlTdhy4xaR1mEL+tSloi15uRV/flaW17o2r42jswd+J YFbQRsW1UkRhFqxno2l5aJ6wWn+vlLdeXhgKU2bM= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A5A403858D34 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A5A403858D34 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1747143210; cv=none; b=DA2smF+8o/kUGkXUpIiQgMCLqq+cH+JvMKl8Q136HPXBdw33kc6TvjYLWWnA2SPezDl27Ix4X+WOjEDYVQDanq2W7fnwAY9UcOxDoYrKYvFyN3JThZxrxtF8HWPcpXRxg8tP2tSSEC9lDpZRDbTxr17yB2Un9LXYyVxwydgriTg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1747143210; c=relaxed/simple; bh=e3esa47smk6Q+GYcthpfIDgm0liTidloF47uduF4VJo=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=fEW1AF0aPcqrf1eIfyaFKb/+ou0J+0U2CtYChUf/bo6GIrJ14odcBgMkYu+adFzR5ceyNZq9XkyoG+REbrdfockgot6leKPF63hbioqpuIzovipEhUQG8rhQpDQIP6+crBXSJEXY+4uUyuP3Xx5A/NC0BrGALBofarT2Rgcr4UU= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A5A403858D34 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747143210; x=1747748010; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KEkXTTaQz4Oz1kgBh/dCOPdpycUndvC+i8lRRaWS7CU=; b=INOs1NEQzxt0xyzW7mQvDZQr/A6xLMsc454u5h9xmtzav+39CG2yq+eCXW1Hi+8Lw+ eZ1OniMCyBypGMxClBf+jZWziHpHIhonGd6LqoiwZ1X2rW9F2+X/bMMQYrNkV/1AgJ7W D9XEvmp4LF58fE9OVlkmFdPrN8buaJiCyaDmXfoW76hACdQQ72B1CjR1FNbB/vZpRdzr J8gJPWcUW6GSd3OORqdgdSnzu7QduIT/nXq0ay9drt/CTIktvUu5nAiPjyE6G8/Dr1o1 1q6BXxJHyTnFZIaN9rU+5lLpPM5mxpESMgQYTPlx2pWTF04tAGFxgEPjColrXUiL3TWP sVwA== X-Gm-Message-State: AOJu0Yxjmn/nza5ff+KkAEn7287MrGP01jJmfGgfBwZZPTn3jMEWGZDX +PTwkPRgl1msJHGMbggUWFdVYVANJgkzwbmHq/h1LOLh+DMlUOS6vZGbjXx4qhW6Jj5b6+i1cnr TEsK57tsti6sUjm40jlvwOSS80iGKgFJc X-Gm-Gg: ASbGncu7v622jO9+6GEo2reO94iTxnrsy7lItbI37HzL0Ej1NUs49Piczgm3XLBRbRG dz2bdRFp2fOlmSjfOTr2EZnuuhu8HzljJ1Ejt6iC8UiZdalMimtLr6+A7dBjmsuo2LBrbRn+nIA ORzerXDQHY6vf07tKMQPRbw9KIjiIN2XbMcPN27LWeLo4= X-Google-Smtp-Source: AGHT+IHuOldofqQOtO81y8u3XnkiIUOrCnHpDP7L1b/nRmdQNU+88fUVU51HTcqQBJp2iJlHOyIJPxX2hswsiG7Cz3A= X-Received: by 2002:a05:6830:6015:b0:72b:99eb:7ce3 with SMTP id 46e09a7af769-73226b09893mr10682106a34.18.1747143209693; Tue, 13 May 2025 06:33:29 -0700 (PDT) MIME-Version: 1.0 References: <1556306539 DOT 20250513160643 AT yandex DOT ru> In-Reply-To: <1556306539.20250513160643@yandex.ru> Date: Tue, 13 May 2025 15:32:53 +0200 X-Gm-Features: AX0GCFsfoEmVEpFZT8JQ5Vw9g-xiEOrOfRdB92VASiJl2ND-6gsHDtQl98CiFHA Message-ID: Subject: Re: Using Cygwin installation on network share in CI fails To: cygwin AT cygwin DOT com X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: =?utf-8?q?Aur=C3=A9lien_Couderc_via_Cygwin?= Reply-To: =?UTF-8?Q?Aur=C3=A9lien_Couderc?= Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 54DDXwwP1818049 On Tue, May 13, 2025 at 3:20 PM Andrey Repin wrote: > > Greetings, Aurélien Couderc! > > > Cygwin: > > > Using Cygwin install on network share in CI fails. > > This seems to be a recent regression, as this was working a year before. > > > Now on Windows 10 with Cygwin 3.6.1 it fails with error 127. > > > Test case, using cmd.exe: > > > curl --remote-name "https://www.cygwin.com/setup-x86_64.exe" > > .\setup-x86_64.exe -q --no-write-registry --no-admin --root %cd% > > --no-desktop --site "https://mirrors.kernel.org/sourceware/cygwin" > > .\bin\bash.exe -c 'ls -l ; echo $?' > > > Expected result: > > ls -l output, with exit code 0 > > > Actual result: > > exit code 127 > > > I am not good in debugging Cygwin, but it looks like .\bin\cygwin1.dll > > just gives up at some point. > > Wait-wait-wait. > You are installing Cygwin TO a network share of the Cygwin distribution is > located on a share and you are installing it to a local drive? > > The latter is possible, the former is a very, very, VERY BAD IDEA. We always install Cygwin on a network drive, the CI runs as a separate user and the IT department does not install Cygwin on the machines itself. The test machines also do not have local users, all users come from N:, and have their home dirs on N: (Windows network share). To clarify: REM N: is a Windows network drive REM Replace YYYYMMDDHHMMSS_INDEX with year, month, day, hour, minute, second and index number of test mkdir N:\ci\runYYYYMMDDHHMMSS_INDEX cd N:\ci\runYYYYMMDDHHMMSS_INDEX REM install Cygwin for this test .\setup-x86_64.exe -q --no-write-registry --no-admin --root %cd% --no-desktop --site "https://mirrors.kernel.org/sourceware/cygwin" REM run tests .\bin\bash.exe -c 'ls -l ; echo $?' This has been working since at least 2021 (Cygwin 3.3.0), but my colleagues tell me that this even worked in 2016. Aurélien -- Aurélien Couderc Big Data/Data mining expert, chess enthusiast -- 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