X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6BE0A3857C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1693077425; bh=3U0Ek5VnHJL32gjo7kNU1bHKft5a/wYN0oLxcSE35JU=; 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=MsYkgZwz/msMjGOCI+o5xY2QhuDACPBNRrhFGM0jbx5yztKXNu+0gtQrSvQegeRva /WQjVV+pooQZPBHUGvBE1GXeUKhwG1bV5RyU3WO5cxEJlhmEo6kNuQOpl9kP3texIF cA1UQQ6XQ0vDzOAnq50iaOt/vZ8V36Tzf88nwGRI= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 746BA3858C53 X-Authority-Analysis: v=2.4 cv=J8G5USrS c=1 sm=1 tr=0 ts=64ea4f88 a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=Wz_0O5XQ8js75uO9:21 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=GcyzOjIWAAAA:8 a=xNf9USuDAAAA:8 a=x2st7gq1yHNOgazYbzYA:9 a=QEXdDO2ut3YA:10 a=1Prfya7pQxoA:10 a=sRI3_1zDfAgwuvI8zelB:22 a=hQL3dl6oAZ8NdCsdz28n:22 a=SEwjQc04WA-l_NiBhQ7s:22 a=0Vf9Ojdfx986H2HLSRfn:22 Message-ID: Date: Sat, 26 Aug 2023 13:16:23 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory Content-Language: en-CA To: cygwin AT cygwin DOT com References: Organization: Inglis In-Reply-To: X-CMAE-Envelope: MS4xfOyKFWJr0AiFDiepa6Gp8/SCxh7/4BBC5Ti+59zlqfCdB7THRcEPulcepgoJanCXxjvdWnK7yNk19hcRo8w5SIeIKLxZyouNx7y4MjnevfytJZ+1uej2 XMO29S3RIBHP4ZpOzO10oZqHiPO0GJJIZtF8Re3FkpmQFPVccoYBz0JEADwzrcvaj531oSqBJlga7mCdReIDFXkshVynzkt/J14jkRJz5rVUx5Szg137fYGZ X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Brian Inglis via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Brian Inglis , Martin Wege Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 37QJH7k2010637 On 2023-08-26 11:40, Martin Wege via Cygwin wrote: > On Sat, Aug 26, 2023 at 4:16 PM Corinna Vinschen via Cygwin > wrote: >> >> On Aug 26 13:26, Cedric Blancher via Cygwin wrote: >>> On Fri, 25 Aug 2023 at 14:26, Corinna Vinschen via Cygwin >>> wrote: >>>> >>>> On Aug 25 14:18, Corinna Vinschen via Cygwin wrote: >>>>> On Aug 23 01:05, Roland Mainz via Cygwin wrote: >>>>>> 2. Check whether the filesystem for the fifos path is NFS >>>>>> (cgywin.dll's |fs.fs_is_nfs()|), and then just refuse |mkfifo()| with >>>>>> |ENOSYS| (not implemented) >>>>> >>>>> I like the idea. >>>> >>>> EPERM, btw. See https://man7.org/linux/man-pages/man2/mknod.2.html >>>> >>> >>> I am vehemently opposed to that idea. That will IMHO not only be the >>> wrong solution, it will break actual things like autoconf&friends on >>> NFS - they create fifos for testing, but do not use them. If you just >>> make this return EPERM, then you break stuff we have to rely on. >> >> https://cygwin.com/acronyms/#STC, please.# > > Real world failure for Cygwin on NFS: > > wget 'http://deb.debian.org/debian/pool/main/k/ksh93u+m/ksh93u+m_1.0.4.orig.tar.gz > cd ksh-1.0.4 > $PWD/bin/package make > > This fails with Cygwin 3.4.8-1: > > cat buildlog.log > package: update > /cygdrive/z/arbeitdfn/windows_ksh/build_nfsv3/ksh-1.0.4/bin/execrate > package: initialize the > /cygdrive/z/arbeitdfn/windows_ksh/build_nfsv3/ksh-1.0.4/arch/cygwin.i386-64 > view > package: update > /cygdrive/z/arbeitdfn/windows_ksh/build_nfsv3/ksh-1.0.4/arch/cygwin.i386-64/lib/probe/C/make/probe > package: update > /cygdrive/z/arbeitdfn/windows_ksh/build_nfsv3/ksh-1.0.4/arch/cygwin.i386-64/bin/mamake > package: make with mamake > package: make output captured in > /cygdrive/z/arbeitdfn/windows_ksh/build_nfsv3/ksh-1.0.4/arch/cygwin.i386-64/lib/package/gen/make.out > mkfifo: cannot set permissions of > '/cygdrive/z/arbeitdfn/windows_ksh/build_nfsv3/ksh-1.0.4/arch/cygwin.i386-64/lib/package/gen/make.out.fifo': > No such file or directory > package: make done at Fri Aug 26 19:24:26 CEST 2023 in > /cygdrive/z/arbeitdfn/windows_ksh/build_nfsv3/ksh-1.0.4/arch/cygwin.i386-64 > > If you need more examples just let me now, we have MUCH more of that... No - the DLL developers need fewer examples, just *ONE* Simple Test Case, boiled down to the essentials, with notes on preconditions, if you can not recreate the required conditions in a program or script. Alternatively, Cygwin strace output with notes from a failing program, or a gdb script and log of the failing code with enough calling context and notes. Please read the problem reporting guidelines linked at the bottom of all posts and follow them. -- 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 à retirer 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