delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/09/08/00:50:20

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B7FD83858414
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1694148619;
bh=KUBjrEK39I7kkEB/QCch2TPbAHIBU5AyIcNpPAC/sO0=;
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=Qt03cn7BT01md/jp0jnBShjSt34Rx0Yg7QSqdLPtpaFGW/4g1d3oCRn3gLyO2H5gx
kZUTvksAZRF68nOPOxfkeA5CWK5Qkz/0W6HcTP+E4g8e8b6QDw6T8NzCqvi+h8Jylu
03p9OsEL7bwvUkFWIF7+q792jN8Ozz+aiu/Menwg=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 685B03858D1E
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1694148579; x=1694753379;
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=u4wsO8YonWvw4Iu9t9kdiJgaTMzIYqcJOOKfPW3sqJQ=;
b=cpK8db1Yzd4WSHe3uOtfKo6xQ4KiKywRpqLV9fLEXjYeqty7LovodJSduXZm2Zi8t6
9REqkd4BWuRPLC2AkKMWTYcSLH2x7knZ61uoLiAr0+h4uq1sm/rGxtzqYEpqh4vfVM1P
f2p+L+qEOfFPHCb9ssmz+l5Lz94gQwK3FCrjw2EQKdF09enz8qn+1B7MMadUTwVmLWR9
b8Wa3zKtw8GrnrsZd29GCCJyuF/2FrEpK6ppfzB+LmRr1MW/S5ZTfBmiiWLemSkD9prS
pfqWXOao7pTur7SSB7vN8+pwi2v+u0OBQOBYJBowEwJFjgHUvon2Alrbk6RMAIlWZo4l
3pCQ==
X-Gm-Message-State: AOJu0YyYIIJHXZk3vwb6suMwnrTd3s/FFZN+8wYejsdLqsMt7eCOdDrV
EDXupQSmwWsfhMlP7b1IuqgWxlWKHrRGiGZ02ApeMwGZ260=
X-Google-Smtp-Source: AGHT+IGNQhRrTyhUnrFAtun4hYsEDMaNLGKDtZy8fRg8Uhk2GWyvWQ2tYq9lrjTWwom0Gqdb/wtA9eOgSDv19LMQ0T4=
X-Received: by 2002:ac2:58e6:0:b0:501:bdde:5a49 with SMTP id
v6-20020ac258e6000000b00501bdde5a49mr878169lfo.15.1694148579195; Thu, 07 Sep
2023 21:49:39 -0700 (PDT)
MIME-Version: 1.0
References: <announce DOT 20230906172530 DOT 526501-1-corinna-cygwin AT cygwin DOT com>
<CANH4o6MSXBxMBsqgtWbNe9rPETNgY-D5QxJO9AsLwe+tm0WkDw AT mail DOT gmail DOT com>
In-Reply-To: <CANH4o6MSXBxMBsqgtWbNe9rPETNgY-D5QxJO9AsLwe+tm0WkDw@mail.gmail.com>
Date: Fri, 8 Sep 2023 06:48:00 +0200
Message-ID: <CALXu0UcRuepZC_jH1+rzqLxDuhCtC4h94wgfVxkBxH9fSDEH7A@mail.gmail.com>
Subject: Re: NFS mkfifo support in cygwin 3.5.0 Re: [ANNOUNCEMENT] cygwin
3.4.9-1
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, BODY_8BITS,
DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM,
KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Level: **
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.30
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: Cedric Blancher via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Cedric Blancher <cedric DOT blancher 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 3884oKbK005714

On Thu, 7 Sept 2023 at 23:20, Martin Wege via Cygwin <cygwin AT cygwin DOT com> wrote:
>
> On Wed, Sep 6, 2023 at 5:27 PM Corinna Vinschen via Cygwin-announce
> via Cygwin <cygwin AT cygwin DOT com> wrote:
> >
> > The following packages have been uploaded to the Cygwin distribution:
> >
> > * cygwin-3.4.9-1
> > * cygwin-devel-3.4.9-1
> > * cygwin-doc-3.4.9-1
> >
> > Bug Fixes
> > ---------
> >
> > - Fix a bug introduced in cygwin 3.4.0 that switch_to_nat_pipe flag is
> >   not cleared properly when non-cygwin app is terminated in the case
> >   where pseudo console is not activated.
> >
> > - For the time being, disable creating special files using mknod/mkfifo
> >   on NFS.
> >   Addresses: https://cygwin.com/pipermail/cygwin/2023-August/254266.html
>
> While I am unhappy that you disabled this for Cygwin 3.4.9-1, we
> noticed that you added mkfifo support for Cygwin 3.5.0 in
> https://cygwin.com/git/?p=newlib-cygwin.git;a=commit;h=622fb0776ea333dd708ff312f08ec98311138fbe
> ğŸ™ğŸ˜ :-)
>
> Thanks
>
> We are testing 3.5.0-0.423.g7ced682549ae.x86_64 - which includes
> 622fb0776ea333dd708ff312f08ec98311138fbe - right now, feedback will
> come on Monday

That's amazing news.

But an old bug crept in:
H is NFS file system
$ uname -a
CYGWIN_NT-10.0-19045 bastille0x44ef 3.5.0-0.423.g7ced682549ae.x86_64
2023-09-07 17:19 UTC x86_64 Cygwin
$ mount
C:/cygwin64/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin64/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin64 on / type ntfs (binary,auto)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
H: on /cygdrive/h type nfs (binary,posix=0,user,noumount,auto)
M: on /cygdrive/m type nfs (binary,posix=0,user,noumount,auto)
N: on /cygdrive/n type nfs (binary,posix=0,user,noumount,auto)
O: on /cygdrive/o type nfs (binary,posix=0,user,noumount,auto)
P: on /cygdrive/p type nfs (binary,posix=0,user,noumount,auto)
$ cd /cygdrive/h/tmp/
$ mkfifo f1.fifo ; echo $?
0
$ mkfifo -m 0600 f2.fifo ; echo $?
mkfifo: cannot set permissions of 'f2.fifo': No such file or directory
1

So chmod() for a FIFO inode on NFS fails. Tested with MSFT NFSv3 and
new builds of the NFSv4.1 ms-nfs41-client filesystems.

Ced
-- 
Cedric Blancher <cedric DOT blancher AT gmail DOT com>
[https://plus.google.com/u/0/+CedricBlancher/]
Institute Pasteur

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