X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 4 Apr 2012 14:12:41 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Cygwin 1.7.12-1: exit code 1 during post-install regarding dirs in /dev Message-ID: <20120404121241.GB8014@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4F7C215E DOT 60702 AT andreloker DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4F7C215E.60702@andreloker.de> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Apr 4 12:24, Andre Loker wrote: > Hello, > > I'm trying to do a fresh installation of Cygwin 1.7.12-1 on a new > Windows Server 2008 R2 machine. At the end of the installation I get > a warning that bash.sh returned exit code 1. > > The related parts of the log: > <> > 2012/04/04 11:53:05 running: C:\cygwin\bin\bash.exe --norc > --noprofile /etc/postinstall/bash.sh > ln: cannot remove `/dev/stdin': No such file or directory > ln: cannot remove `/dev/stdout': No such file or directory > ln: cannot remove `/dev/stderr': No such file or directory > ln: cannot remove `/dev/fd': No such file or directory > 2012/04/04 11:53:05 abnormal exit: exit code=1 > <> > > Possibly related: I get errors a bit earlier in the log files: > > << start>> > 2012/04/04 11:53:01 running: C:\cygwin\bin\bash.exe --norc > --noprofile /etc/postinstall/000-cygwin-post-install.sh > mkdir: cannot create directory `/dev/shm': No such file or directory > > Creating /dev/shm directory failed. > POSIX semaphores and POSIX shared memory will not work > > mkdir: cannot create directory `/dev/mqueue': No such file or directory > > Creating /dev/mqueue directory failed. > POSIX message queues will not work > <> > > I *suppose* the issue is related to this change in 1.7.12: > "- Cygwin now automatically populates the /dev directory with all > existing POSIX devices." > > Do I have to take any actions regarding those issues? If so, which? Thanks for the report. That's a blatant bug in the /dev handling. I hope I fixed it sufficiently in CVS. I'm just generating a new snapshot which should be available in about half an hour on http://cygwin.com/snapshots/ Please give it a try. For instance, call the /etc/postinstall/bash.sh and /etc/postinstall/000-cygwin-post-install.sh files manually ands report back if they do what they should in terms of /dev. Maybe the scripts now have a .done suffix, but you should still be able to run them. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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