delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 714E5384BC3A |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1625124580; | |
bh=JHvcPVoBxqZkwk21xC3UflwKCsJ6f8vCLnueJ8Qxtc8=; | |
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: | |
List-Help:List-Subscribe:From:Reply-To:From; | |
b=injfZr3VxdJYtMVLP8gWuTg3vGI5p5O4pYCuf4xLbnW3rOheWdbpsFdqoafOAjf3t | |
2ym2fQmedocsWMDotzHKlPlUUvuCb03i6Og2bkvcqHTm0fwThzM/ZBRQ7M+JnH39nu | |
YDoleByf7uEGkdCi8GylZ16VrYNvG/jMwbY2kIag= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.1 sourceware.org 031A1393AC22 |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=1e100.net; s=20161025; | |
h=x-gm-message-state:to:from:subject:message-id:date:user-agent | |
:mime-version:content-language:content-transfer-encoding; | |
bh=2YTaLDap2SAgNxHH4dhGsZf5onc8Wu47GpFNUmF76uA=; | |
b=UKfMBOVYdCmnytPOVz9ao21F1AoMQpH/o/XqlsuW2nRO969TXQfNEvUP4jejA2vbzd | |
C6tCUQgTVK0RxBci66aMGlvlHqbCjbzw1n5r09BssXX7ex5POVjrpjqhtKd20s17sjzz | |
7q6gJFqOhqOug7qvN3eMaErHuXhK2q4bZ8289C8W3xe30HDQ5ffGmGvmQfGF9agpL1nw | |
Gnh2bFK3G9SDXW2sA2ZiOOvUeacJN8jX/5Uvaqa1asZ8yJhRx8sgaXPCL4rA2vVyyuyN | |
fmoe5KChnyiVNIIi1Z11GYqbUCDZ+UooNIOOB8v+oZVVE5Rw/auhasVW31ZWowgf6V2g | |
30HA== | |
X-Gm-Message-State: | AOAM533FcDcIsqTbAj7zuPyPFjRqkyr3cUBV/MASkyW0dLb1CCK8GAVr |
3JaozbmrZ3lh8vh9q3VmGQ4nW0lQ3DsoZ9R7 | |
X-Google-Smtp-Source: | ABdhPJzAJrp5TYIZSP96gs9B3drftYoNRpmuKsyUy1az++Fe7yw1nWnSnh7S8BkItUIgxsSa/Szy2Q== |
X-Received: | by 2002:a05:6512:3581:: with SMTP id |
m1mr1259488lfr.322.1625122438971; | |
Wed, 30 Jun 2021 23:53:58 -0700 (PDT) | |
To: | cygwin AT cygwin DOT com |
Subject: | login shell binary outside of /bin |
Message-ID: | <8aadfa42-225f-9d8e-4335-e1e6912202f7@gmail.com> |
Date: | Thu, 1 Jul 2021 09:53:58 +0300 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 |
Thunderbird/78.11.0 | |
MIME-Version: | 1.0 |
X-Spam-Status: | No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, |
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, | |
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 | |
X-Spam-Checker-Version: | SpamAssassin 3.4.4 (2020-01-24) on |
server2.sourceware.org | |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.29 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
From: | Basin Ilya via Cygwin <cygwin AT cygwin DOT com> |
Reply-To: | Basin Ilya <basinilya AT gmail DOT com> |
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
Hi I compiled bash 5.1 and installed it to /usr/local If I try to use it as a login shell it fails to launch programs while sourcing /etc/profile. If I copy the binary to /bin it works. If after successful login I launch `/usr/local/bin/bash5 -login` again it works. If I copy the official bash4 to /usr/local/bin and try to do the initial login it fails just like bash5. Bad: C:\cygwin\bin>C:\cygwin\usr\local\bin\bash5 -login 0 [main] bash5 674 dofork: child -1 - forked process 20540 died unexpectedly, retry 0, exit code 0xC0000135, errno 11 bash5: fork: retry: Resource temporarily unavailable 1023667 [main] bash5 674 dofork: child -1 - forked process 35708 died unexpectedly, retry 0, exit code 0xC0000135, errno 11 bash5: fork: retry: Resource temporarily unavailable 3053548 [main] bash5 674 dofork: child -1 - forked process 28664 died unexpectedly, retry 0, exit code 0xC0000135, errno 11 bash5: fork: retry: Resource temporarily unavailable 7078151 [main] bash5 674 dofork: child -1 - forked process 59624 died unexpectedly, retry 0, exit code 0xC0000135, errno 11 bash5: fork: retry: Resource temporarily unavailable 15108745 [main] bash5 674 dofork: child -1 - forked process 51456 died unexpectedly, retry 0, exit code 0xC0000135, errno 11 bash5: fork: Resource temporarily unavailable bash5-5.1$ /usr/bin/hostname 23539687 [main] bash5 674 dofork: child -1 - forked process 55544 died unexpectedly, retry 0, exit code 0xC0000135, errno 11 bash5: fork: retry: Resource temporarily unavailable 24564456 [main] bash5 674 dofork: child -1 - forked process 67084 died unexpectedly, retry 0, exit code 0xC0000135, errno 11 bash5: fork: retry: Resource temporarily unavailable 26592885 [main] bash5 674 dofork: child -1 - forked process 16288 died unexpectedly, retry 0, exit code 0xC0000135, errno 11 bash5: fork: retry: Resource temporarily unavailable 30618645 [main] bash5 674 dofork: child -1 - forked process 28416 died unexpectedly, retry 0, exit code 0xC0000135, errno 11 bash5: fork: retry: Resource temporarily unavailable 38648818 [main] bash5 674 dofork: child -1 - forked process 26696 died unexpectedly, retry 0, exit code 0xC0000135, errno 11 bash5: fork: Resource temporarily unavailable bash5-5.1$ echo "PATH=$PATH" PATH=/usr/local/bin:/usr/bin:/cygdrive/c/Program Files/BellSoft/LibericaJRE-8/bin:/cygdrive/c/Program Files/Documentum/Shared:/cygacl/v/goodfs/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/WINDOWS/System32/OpenSSH:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/nodejs:/cygdrive/c/progs/apache-maven-3/bin:/cygdrive/c/Program Files/Cloud Foundry:/cygdrive/c/progs/git-for-windows/cmd:/cygdrive/c/Program Files/Docker/Docker/resources/bin:/cygdrive/c/ProgramData/DockerDesktop/version-bin:/cygdrive/c/Users/basin/AppData/Local/Microsoft/WindowsApps:/cygdrive/c/Users/basin/AppData/Roaming/npm bash5-5.1$ pwd /home/basin bash5-5.1$ Good: C:\cygwin\bin>C:\cygwin\bin\bash5 -login basin AT basin ~ $ /usr/bin/hostname basin basin AT basin ~ $ echo "PATH=$PATH" PATH=/home/basin/.local/bin:/opt/wrappers/bin:/home/basin/perl5/bin:/usr/local/bin:/usr/bin:/cygdrive/c/Program Files/BellSoft/LibericaJRE-8/bin:/cygdrive/c/Program Files/Documentum/Shared:/cygacl/v/goodfs/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/WINDOWS/System32/OpenSSH:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/nodejs:/cygdrive/c/progs/apache-maven-3/bin:/cygdrive/c/Program Files/Cloud Foundry:/cygdrive/c/progs/git-for-windows/cmd:/cygdrive/c/Program Files/Docker/Docker/resources/bin:/cygdrive/c/ProgramData/DockerDesktop/version-bin:/cygdrive/c/Users/basin/AppData/Local/Microsoft/WindowsApps:/cygdrive/c/Users/basin/AppData/Roaming/npm basin AT basin ~ $ pwd /home/basin basin AT basin ~ -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |