This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Future setup regression caused by 'mkdir: always check-for-existence' commit
- From: "Stephen Provine via cygwin" <cygwin at cygwin dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Mon, 26 Aug 2019 15:25:43 +0000
- Subject: Future setup regression caused by 'mkdir: always check-for-existence' commit
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; 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=w+si4sn4v5UHVFy354YmWOWMR0Qgf3P93qYq4l1ORWk=; b=jQnCgCcyIPrVU8OAWJZYW5a37xdPQi5gkgAvJfnllXSXCkO/immqq689H87IwmbYZr+LgQBzYIGFg3XbZZ3eCN5+7cWgNxFXjYKXXSC2LqyVKKGJ885yvvEO07W00a8QtS6cqOOAJo6ggvdoYV5Q2pjuna8TQGWjeF+f8kIr+vaLbwmh1kX7Q2Zm9EqEsHIJdgrNFhmbE4j4PqlNGef/CWxGxJxgC6uVdqCVAFj8MASb73KSmyLLZzuvRdItbRSFvi3z8plTXS/XCJ0JVepHsD47CkSZibCvaQ0zMfltec+EfV5qZ6/H64fBm53h8zrz2mhcYfx+9YW4KtgYo2Fxwg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Tlo1yn/2L5CbeCSEfTyZ5mv25693EfEIPqgAiz702rpTNai5M4cbpEGuCd2BVNSHXQFumxEobQHL/95YnDThFuMUapay6SIEeFa+MJMYzbYTeJOTSHb1/9cAChzyfOYmhoXcmP3bX4Nzx36EKgiXplB9HqQuQy9dk6gkwvTPbjxhLDRY2pLR8Lm6jPl5p2dt791HsWG5IEb89v+7BpHb0YE7Ckl9RIJoQvRbTXSlXdvAcKuakOJSUPDAogX8m2hOADS6mtVV+GjWbfF+lpIdWcoS9IB+auH7X/Zi2aHXi0FD0UzcfrAiDoi1+ldOxZXa/ayNAondg+DlhxMj3S5DfQ==
- Reply-to: Stephen Provine <stephpr at microsoft dot com>
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.
Thanks,
Stephen
--
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