delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/04/07:39:40

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,TW_KM,TW_TM,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4F7C32E3.5050101@andreloker.de>
Date: Wed, 04 Apr 2012 13:39:15 +0200
From: Andre Loker <mail AT andreloker DOT de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin 1.7.12-1: exit code 1 during post-install regarding dirs in /dev
References: <4F7C215E DOT 60702 AT andreloker DOT de> <4F7C2F4A DOT 2070701 AT gmail DOT com>
In-Reply-To: <4F7C2F4A.2070701@gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Am 04.04.2012 13:23, schrieb marco atzeri:
>
> On 4/4/2012 12:24 PM, 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:
>> <<start>>
>> 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
>> <<end>>
>>
>> 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
>> <<end>>
>>
>> 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 in advance,
>> Andre Loker
>>
>
> what is the output of "ls -l /dev" ?

$ ls -l /dev
total 0
crw-rw-rw- 1 Administrator None  13, 254 Dec  1  2006 clipboard
crw-rw-rw- 1 Administrator None  14,   3 Apr  4 13:38 dsp
crw--w--w- 1 Administrator None   1,   7 Apr  4 13:38 full
crw-rw-rw- 1 Administrator None   1,   2 Apr  4 13:38 kmem
crw------- 1 Administrator None   1,  11 Apr  4 13:38 kmsg
c--------- 1 Administrator None   1,   1 Apr  4 13:38 mem
crw-rw-rw- 1 Administrator None   1,   3 Apr  4 13:38 null
c--------- 1 Administrator None   1,   4 Apr  4 13:38 port
crw-rw-rw- 1 Administrator None   5,   2 Apr  4 13:38 ptmx
crw--w---- 1 Administrator None 136,   0 Apr  4 13:38 pty0
crw-rw-rw- 1 Administrator None   1,   8 Apr  4 13:38 random
brw-rw-rw- 2 Administrator None  11,   0 Apr  4  2012 scd0
brw-rw-rw- 1 Administrator None   8,   0 Apr  4  2012 sda
brw-rw-rw- 1 Administrator None   8,   1 Apr  4  2012 sda1
brw-rw-rw- 2 Administrator None  11,   0 Apr  4  2012 sr0
crw-rw-rw- 1 Administrator None   5,   0 Apr  4 13:38 tty
crw-rw-rw- 1 Administrator None   1,   9 Apr  4 13:38 urandom
crw-rw-rw- 1 Administrator None  13, 255 Apr  4 13:38 windows
crw-rw-rw- 1 Administrator None   1,   5 Apr  4 13:38 zero



--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019