This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Future setup regression caused by 'mkdir: always check-for-existence' commit
- From: Ken Brown <kbrown at cornell dot edu>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Cc: Stephen Provine <stephpr at microsoft dot com>
- Date: Mon, 26 Aug 2019 17:03:57 +0000
- Subject: Re: Future setup regression caused by 'mkdir: always check-for-existence' commit
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fPyXBJ29mhZ2mVDF6ryNBPIwkiZ+FJSTPM89irfcnKE=; b=YcXvThGybGl5b9JHhyzCwOOygviaAo3CbsoaPjZD+egRwuer0M/RH7SSQSB2rJ8c3iEw/21m2gc/N54zz/ydr0mb6SuqeI8as0KSIafKDASZRqSAOBVPGiuE00T+HMiy+4ngB96XaD3R2lSC3Avy9HRC6f+EQUXO4EbZp/w3HHZ1QrcAIBxRAJ3t07CLzX7zPaaEbYqRRdaIJ2Rlp7B8EsEkMPaecO8S9OIf23jU3qU2TEiPIdDEwO+eK64A8MWPfkpbuDV5Zjsy+LlZAaSx02EiwSc3N0ehqG1ywo+ICNcSdhCOzipKo69uMcNrHvER/y7jAxNIgNdB7cqASnQUMw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Exk9VaVeDo6gSHmZi7uiu5E24vTpmkFF8PRgVajwJkGj2lIP6/SuiSeRf3Oo66rjYjcOZsPruiK3pUk6OhE9l9imBAW/W7SnqLAAvm/qlb6uwWvOZ6fngkV08qmqFA82HR/CZV0Lov9QkagBAyTcDJEIG9nkiTRWKyJ2DfZ3WGMIOpV0TNd88SaV1dT0HHEGOG7+RF48Uf//7ej0FDAJeKRmCGd9cI7PX1FC4gPnG/WY0gI3gV1A0CPFLw5ceMPH4ZuwPiPfYa+csurR7gpGrDJkDJfGkffxo85mHBdrSoedTXRszxKhm7Q7rtUaT6cTdr+qyxQNVwBddCyWzUA5cA==
- References: <MWHPR21MB08452B51987E8A239851F7BEB9A10@MWHPR21MB0845.namprd21.prod.outlook.com>
On 8/26/2019 11:25 AM, Stephen Provine via cygwin wrote:
> 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. 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.
>
> 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.
It looks like you've bumped into the bug reported here:
https://cygwin.com/ml/cygwin/2019-07/msg00152.html
This was a bug in a development snapshot, and it has already been fixed. You
should try the test release for cygwin-3.1.0 to confirm this.
I don't think this problem has anything to do with commit
b0c033bf3fae810b9e5a5c69f17bd4de63725691.
Ken
--
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