From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by sourceware.org (Postfix) with ESMTPS id 685B03858D1E for ; Fri, 8 Sep 2023 04:49:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 685B03858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-4ff8f2630e3so2804462e87.1 for ; Thu, 07 Sep 2023 21:49:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694148579; x=1694753379; darn=cygwin.com; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=u4wsO8YonWvw4Iu9t9kdiJgaTMzIYqcJOOKfPW3sqJQ=; b=blmvLVxxGvqbsfCt5Ci0F/h13+jd20T/PL4RLwnrY2OM10TgSj3EbJKn0vePDGuqDv NXYg8+PswLBTgazqCTxbwXY8Q/UQWXiEJeViBBnVB9LmuDDDjvFI/SkYmvKo3P3tki7I NAPvoSnEgRiXdilO8gdWqdNU/MU1Yk1m1oK3LJgsK38hQbSQLW1iI6BztPWZggev6ZJG T2Bd3IAm39gNXSS7Z1t+slvFWXpJdEQgJleEk7pRprJ5s/KRVPfko36GdA75/BVEMiK9 CgtZ73TJK5kMWuhsKYyNibJLjzGbe2PPK9kbKV7DmS+pE8vK+HYp0OdgVCj08IFvTn36 T8ow== 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: In-Reply-To: From: Cedric Blancher Date: Fri, 8 Sep 2023 06:48:00 +0200 Message-ID: Subject: Re: NFS mkfifo support in cygwin 3.5.0 Re: [ANNOUNCEMENT] cygwin 3.4.9-1 To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 List-Id: On Thu, 7 Sept 2023 at 23:20, Martin Wege via Cygwin wr= ote: > > On Wed, Sep 6, 2023 at 5:27=E2=80=AFPM Corinna Vinschen via Cygwin-announ= ce > via Cygwin 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.htm= l > > 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=3Dnewlib-cygwin.git;a=3Dcommit;h=3D622fb0776ea3= 33dd708ff312f08ec98311138fbe > =F0=9F=99=8F=F0=9F=98=81 :-) > > 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=3D0,user,noumount,auto) H: on /cygdrive/h type nfs (binary,posix=3D0,user,noumount,auto) M: on /cygdrive/m type nfs (binary,posix=3D0,user,noumount,auto) N: on /cygdrive/n type nfs (binary,posix=3D0,user,noumount,auto) O: on /cygdrive/o type nfs (binary,posix=3D0,user,noumount,auto) P: on /cygdrive/p type nfs (binary,posix=3D0,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 --=20 Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur