www.delorie.com/archives/browse.cgi | search |
DMARC-Filter: | OpenDMARC Filter v1.4.2 delorie.com 54DJ7iSg2029256 |
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 54DJ7iSg2029256 |
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=xPPGJKGr | |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org E1295385B51F |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1747163263; | |
bh=4qKM8MJqdAu968a3iSzFdQta//GY4BuIF/hvpIWesMA=; | |
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: | |
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: | |
From; | |
b=xPPGJKGr7jXMk+ouqEKKjc5whAy0F/Y3+Yiv7A/ViYouzbQF335XaWG0GVJos0myp | |
qL52IsiiQW1ieSENtPlv/uongIOmi1M7Ybt+xhyBz8T4spMkgZqXQJbEIN8exiR63R | |
jGaMVZERSlaAr3Xamby9lLcTJqNjMV3zDx5hTQaE= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org 0218B385772A |
ARC-Filter: | OpenARC Filter v1.0.0 sourceware.org 0218B385772A |
ARC-Seal: | i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1747163197; cv=none; |
b=PA6iOkDLXeYUsh4IgUxoNY0AB0LNXrQtmL9LnwelxKTNxFVsPVPL9CSpgQbsvofumyxmxbCfUIuYIc3pHKqwE66sjm2oaVpuF2OItbgyXfsjlCA2R6S0MrrIseBiWX/xeXF6QIr0gJclv8anOHzIEJMjt74iQc+RvaYpTLx3Wys= | |
ARC-Message-Signature: | i=1; a=rsa-sha256; d=sourceware.org; s=key; |
t=1747163197; c=relaxed/simple; | |
bh=A2HnMM2OAIhhyDyjXz0gBbmfl9L/s+/SkLUOVsWrZ00=; | |
h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature; | |
b=aAESXV4VVIMnkZfqqNwRlNKjE7CkY5K1FHdsJ/TynnXM7nzrEl/w2y7Wr+KsA1fFv+w+nK2Sn22QOu8e6vMf8LvWIjFwFEme12b84YaFbY4jTm7F3CdESWl4IGPqjhftCaZd9iNImvu3Bm69o8FcNtR2XjJYsDMSoDOeI4L4WNU= | |
ARC-Authentication-Results: | i=1; server2.sourceware.org |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 0218B385772A |
Message-ID: | <b5f51dbe-5715-406f-b132-d59cc665fc74@SystematicSW.ab.ca> |
Date: | Tue, 13 May 2025 13:06:33 -0600 |
MIME-Version: | 1.0 |
User-Agent: | Mozilla Thunderbird |
Subject: | Re: Using Cygwin installation on network share in CI fails |
To: | cygwin AT cygwin DOT com |
References: | <CA+1jF5oPR8s20fEpadcdpE8TA+H_0P-inL8sSax7zz3QAcxLWg AT mail DOT gmail DOT com> |
<6ec5c987-b2ff-421d-b8f4-8b1ee7dca29c AT SystematicSW DOT ab DOT ca> | |
<CA+1jF5orHBdQ3fQOY7FVGYwQYpVWS=TFnXbtcwxHh512fr4hQw AT mail DOT gmail DOT com> | |
<8c0312e1-a37d-433a-bea2-6eec96eda5af AT SystematicSW DOT ab DOT ca> | |
<CA+1jF5pfP1543kQz4X=2xVHuoH-Yfh1n1ntXkabSc++B_DU_Uw AT mail DOT gmail DOT com> | |
Organization: | Systematic Software |
In-Reply-To: | <CA+1jF5pfP1543kQz4X=2xVHuoH-Yfh1n1ntXkabSc++B_DU_Uw@mail.gmail.com> |
X-Stat-Signature: | krnida9h95ujhg96f87fyjr59p5es9gt |
X-Rspamd-Server: | rspamout06 |
X-Rspamd-Queue-Id: | 0B0BC20031 |
X-Session-Marker: | 427269616E2E496E676C69734053797374656D6174696353572E61622E6361 |
X-Session-ID: | U2FsdGVkX18km2GU7pJGHSo6P1dsSU10ky2Sip6VxbQ= |
X-HE-Tag: | 1747163194-374018 |
X-HE-Meta: | U2FsdGVkX19TNWdGZn51fDWa4k86rZrmp4vxBodlfKS70h0XK0xaPVAm8ZyDQgYy48K/Oceb+f1+lfkAw0reFAUFwt4AXKeyS/Foxd4iMIiQTnvr5Hw+QxzHYEAvTpb0K+6OssCwY+0dVdR6/fGY9r5RKFgQxENbGfgDkMRJ8sDqEGHWtoe7cNR+ZpXOXqXZccpPtTgO4WnVqRnyqslC3oHYNsLH8BJqRfG7VQC90F5ChAc+W5QK25+2Qol4BO48SLzsf57PIu04Jbfb7ubFqIUAyOa+eRG/zct2ylfiMqTohaMWJP1X32CaCWMLTxZ8BPLPDjrqwmTzyqbwz+yuZigVpVoNJxUgsCXVBMX0V4z71AxBLuvdLr6I4G+Tgy3EFS8WeDoC67kjzFWIOogk3nCpRWFpYzkCqPqEYP8hKqLBlynoqJYp+ymOGP2aHah1ZhfkbN4QHnpiES7h1G0nDakp/GunwdG+ |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.30 |
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> | |
From: | Brian Inglis via Cygwin <cygwin AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
Cc: | Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca> |
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 54DJ7iSg2029256 |
On 2025-05-13 10:32, Aurélien Couderc via Cygwin wrote: > On Tue, May 13, 2025 at 5:41 PM Brian Inglis via Cygwin wrote: >> On 2025-05-13 02:33, Aurélien Couderc via Cygwin wrote: >>> On Mon, May 12, 2025 at 7:43 PM Brian Inglis via Cygwin wrote: >>>> On 2025-05-12 10:34, Aurélien Couderc via Cygwin wrote: >>>>> Using Cygwin install on network share in CI fails. >>>>> This seems to be a recent regression, as this was working a year before. >> >> If you have not run it in a year, it is possibly many things have changed in >> your environment. > > The CI runs for *every* commit, with hundreds of commits a day. > > My... crime... was to update Cygwin to Cygwin 3.6.1. After that, > Cygwin no longer works on WIndows network shares. > >>>>> Now on Windows 10 with Cygwin 3.6.1 it fails with error 127. >>>> That can mean a missing DLL function entry. >> >>> No, I do not think so, as Cygwin works fine if I install it on NTFS. >> >> So you are not installing it on NTFS? >> What kind of share are you installing it on? > > Windows 10 Enterprise (NT-10.0-19045), we use net use N: ... to mount > the standard Windows network share. AFAIK this is Server Message Block > 3.1. SMB is a network protocol not a storage file system. What is the underlying file system? >> Are you installing it using the *latest* download of Cygwin Setup from >> >> https://cygwin/com/setup_x86_64.exe > > Yes, indeed, we did. > >> >> Do the installed files have all their read and exec bits set - this was an issue >> with a recent older release of Cygwin Setup where some files did not. > > Yes, all DLL files have, per icacls, at least RX (read, execute) set. > >>> WIndows DLLS should be fine, and the system is up to date with patches >>> and has a support contract. >> >> Should be is not definite! >> Patches have been known to cause issues! >> Does the support contract cover supporting the execution of Cygwin and utilities? > > I can ask Microsoft support, but seriously for Microsoft "Cygwin" is a > 3rd-party product. I assume you have an IT department which manages Enterprise builds and features? It can be a good idea to get them involved in Cygwin installs and QC checks that Cygwin still works after any of their updates. Remember that Cygwin runs under Windows, and Enterprise builds may drop features or enable policies or processes that intercept calls Cygwin's API may rely on. >>> But Cygwin fails if I install it on a Windows network share. Same >>> installation procedure (.\setup-x86_64.exe -q --no-write-registry >>> --no-admin --root %cd% >>> --no-desktop --site "https://mirrors.kernel.org/sourceware/cygwin"), >>> just different drive (N: instead of C:) >> >> A verbal description of a common failure is inadequate. >> We are not mind readers and have no idea how your CI environment is set up. >> Everything works fine in our CI environment, so your environment is defective, >> and we have no information allowing us to do more than speculate and suggest >> what may be an issue. >> >> It appears possible it is an issue with how the share you are using as a network >> drive is now set up. >> It may have been changed recently due to some process or policy change by your >> IT department. >> Please ask them what they have done recently that might affect the share you >> have been using successfully since 2016. >> >> Also please note that recent Windows changes have started blocking Cygwin >> programs with the same names as programs provided by MS (as outdated and >> insecure versions) like bash, curl, ssh*, tar, etc. possibly under the Windows >> security heading of Tamper Protection? > > I turned off WIndows Defender, for testing purposes, and the result is the same. > >> You have failed to respond to requests for actual information about or from the >> failing environment. >> We need to see actual output from commands of the file system properties and >> directory contents and permissions. > > There *IS* no output. Everything which depends on cygwin1.dll just > fails without output. That points to BLODA - poorly written software intercepting functions calls: https://cygwin.com/faq/faq.html#faq.using.bloda Try installing Cygwin on a local drive and check it works, then use that to check your setup. >> Maybe follow the problem reporting guidelines to run cygcheck -hrsv in the CI >> and include the output as a plain text attachment to your post. > > I need to anonymise that, or IT will want my reprimation. > > But the steps I posted fail on ANY Windows 10 and Windows 11 machine I > have tested so far, Windows Home, Enterprise and Pro. > All you need are the steps I posted, the KEY being doing an > installation on Windows Server Message Block filesystem. That is all. SMB is a network protocol not a storage file system. What is the underlying file system? No one else is reporting any such problems, so it is your environment, with your network share, that is now having issues. > P.S: I hereby propose a cygcheck -A (anonymise) option, which should > replace hostname, IP addresses and other sensitive data with one way > hashes like MD4 or MD5 It is quite easy to script converting environment values back into variable names for any level of anonymity you care to enforce. Do not make it more difficult than necessary for us volunteers to read the information you provide to help you diagnose issues. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retrancher but when there is no more to cut -- Antoine de Saint-Exupéry -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |