From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 35979 invoked by alias); 26 Aug 2019 18:24:44 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 35941 invoked by uid 89); 26 Aug 2019 18:24:44 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy=Achim, achim, wave, WAVE X-HELO: vsmx009.vodafonemail.xion.oxcs.net Received: from vsmx009.vodafonemail.xion.oxcs.net (HELO vsmx009.vodafonemail.xion.oxcs.net) (153.92.174.87) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 26 Aug 2019 18:24:40 +0000 Received: from vsmx001.vodafonemail.xion.oxcs.net (unknown [192.168.75.191]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTP id 2ED73C031C for ; Mon, 26 Aug 2019 18:24:33 +0000 (UTC) Received: from Rainer.invalid (unknown [84.160.192.162]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTPA id 05C663006D7 for ; Mon, 26 Aug 2019 18:24:30 +0000 (UTC) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: Future setup regression caused by 'mkdir: always check-for-existence' commit References: Date: Mon, 26 Aug 2019 22:13:00 -0000 In-Reply-To: (Stephen Provine via cygwin's message of "Mon, 26 Aug 2019 15:25:43 +0000") Message-ID: <87o90b4wfb.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2019-08/txt/msg00333.txt.bz2 Stephen Provine via cygwin writes: > After this change (commit b0c033bf3fae810b9e5a5c69f17bd4de63725691), > the Git for Windows setup (and future Cygwin setups) do not correctly > configure bash features because the post-install step for configuring > the /dev directory does not work any more. Cygwin does not create these directories in postinstall nor does any package provide them, setup.exe does. So you can assume the existence of these directories in Cygwin. https://cygwin.com/cygwin-ug-net/using-specialnames.html The /dev/std* links are created by bash postinstall and doing that still works (and the link shows up in the backing filesystem, not just the virtual one). > It used to be that "mkdir -m 755 /dev" would succeed, but now it > returns a "File exists" error, after which attempts to create the > 'shm' and 'mqueue' directories fail and the /dev/fd, > /dev/std{in,out,err} links are not created. This causes some bash > features to not work. The fix (validated on Git for Windows) would be > for setups to pre-create this directory outside of the Cygwin > environment before running the post-install steps. It seems mkdir gets spooked by the overlay of the virtual /dev over the real one. That's clearly a bug that needs fixing, IMHO. You can work around by using a different path to the same directory (via /proc/cygdrive, say). > See > https://github.com/git-for-windows/git/issues/2291#issuecomment-524433693 > for the in-depth analysis. Note, this is not a current issue in > Cygwin, but is believed to become a FUTURE issue with the next > release. You can test that assumption by doing a fresh install of the current test version of Cygwin 3.1.0, but based on what I see on a system that has been updated to this version I'd think Cygwin would not trigger this bug. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple