delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/08/26/13:41:22

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E489438582A3
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1693071680;
bh=lU1sMKC6ePP2tlPyND6JRhKLlYlu4B3S9qbGyRbV6Bs=;
h=References:In-Reply-To:Date:Subject:To:Cc:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=BqWeumS7D++MZKX+yG97Sj59WAiCGhlpewkuCAdpKx5aFOmZEQUVoH01aKqJ7UUCu
Z2y6rOEcrivf7fgQLQVmipZlz9DiZub5kzxgR7sYFmT4nvgNl9JFQhfPxxRtYqY++M
mVfDJ+mddht2umXMJP7Y+wOSi45eCIxjUA7a66yM=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 827A23858C2C
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20221208; t=1693071641; x=1693676441;
h=content-transfer-encoding:cc: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=mZPbHRAj6bGPWKUE0TnWuxtrRvghF2tMWmcsbfw8olA=;
b=Nbm1jKj2Z/5iwBw4s3NjLTJf7aTwxFePilHDfAvG/tRk1TM1o/CQPTpUTUI1o+93uU
SE0Iax5IYL2eTtbZHbKnC2/F7zZXdQe7R9tZLLsyUseqevZGZV/oNk2z6Q0O9yIlIuUS
lo6Cnb/rhjLubb2JO50L/soFioHqjcjWHanENWwbd9oi1tareFsEtm9Iu/Cn8u6QgKyT
HWiuw5MPYzTXqjOFqzD7xCYyMPmcdxXt9HkdSoSbztY2Iu8PYwwaobgsQq7399soe3MC
XxP38uXzd8Rv6aVCjfiacK6K6fH6isF19bYtQzDLmwuHxBRpiF7yAuo+eNyMkkoXemqI
hS8Q==
X-Gm-Message-State: AOJu0Yz6ND8fYsml+nY8KI5dwqpYL6VwhTWre7R5vepcKJ9OEtOwGsms
79TkiuuffMTYHig9TA7a+sbMZdipdmBAG5HRpRcfDzwwGguHnmKk
X-Google-Smtp-Source: AGHT+IHKsQnQ9Yj1KVmdkeVZT8ioHjYWti4kbw48ryEr6brD7qnXF4YSXOsE9LEIeJMK3ZDT2pODNsjRgv0sZoKj5KE=
X-Received: by 2002:a05:6870:32d3:b0:1bb:a264:a7ba with SMTP id
r19-20020a05687032d300b001bba264a7bamr7005173oac.56.1693071641573; Sat, 26
Aug 2023 10:40:41 -0700 (PDT)
MIME-Version: 1.0
References: <CANH4o6O-8O-iMaHowDuy0y7H=pVfZ-3EvubDmTdjGVSST8FkAQ AT mail DOT gmail DOT com>
<CANH4o6MnH7gWj7d0vmkhCL5N0BTbkrbtGZGtso43MVZBJLBGtw AT mail DOT gmail DOT com>
<ZN8tK/mATx6KbQWk AT calimero DOT vinschen DOT de>
<CALXu0UcByeJHfBWSPEZkmfMqSKkmRT_5ZkxLc25EyhJzN9FUtA AT mail DOT gmail DOT com>
<ZOMiYcQfb7i8Kc8i AT calimero DOT vinschen DOT de>
<DM8PR09MB70950FABA8C4DAD80B0EA189A51FA AT DM8PR09MB7095 DOT namprd09 DOT prod DOT outlook DOT com>
<CAKAoaQkPovkZhVVnkDB3wXKdHejqwKmG7vG38rfy2rtjsGV-uQ AT mail DOT gmail DOT com>
<ZOicD/nxECrAPnKV AT calimero DOT vinschen DOT de>
<ZOid0/VfKaVGHfWb AT calimero DOT vinschen DOT de>
<CALXu0Uf1oCUwpEjynv4qrtLyeH7COmWD5pvBS5TdZ9oVbgpiyA AT mail DOT gmail DOT com>
<ZOoJCeV0qDk4wzTz AT calimero DOT vinschen DOT de>
In-Reply-To: <ZOoJCeV0qDk4wzTz@calimero.vinschen.de>
Date: Sat, 26 Aug 2023 19:40:30 +0200
Message-ID: <CANH4o6PQ9ecyj6kS2DYgDWS=oX1YWKdhNcRaTg9d0SpZ7NOV2A@mail.gmail.com>
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
To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_SHORT,
RCVD_IN_DNSWL_NONE, 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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
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: Martin Wege via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Martin Wege <martin DOT l DOT wege AT gmail 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 37QHfMPj014896

On Sat, Aug 26, 2023 at 4:16 PM Corinna Vinschen via Cygwin
<cygwin AT cygwin DOT com> wrote:
>
> On Aug 26 13:26, Cedric Blancher via Cygwin wrote:
> > On Fri, 25 Aug 2023 at 14:26, Corinna Vinschen via Cygwin
> > <cygwin AT cygwin DOT com> 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...

Thanks,
Martin

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