delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/09/02/15:33:33

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EE9213857C48
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=3arts.us
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=michael DOT a DOT moats AT gmail DOT com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:to:reply-to:from:subject:message-id:date
:user-agent:mime-version:content-language;
bh=UhKysG1/cJ6kTXjDMnrtuc5LP2Tl8nXNCB2w0+4Givo=;
b=EHUSvPiPMy9vwWUof3hB28McJIroaZjuglR/DQXv3f52+KhN26dJnY0x3xecinOFyI
D10sHms8slYYDGeRuOYqRZ6P9BBbRHI97MPbjq3qT2AL5bPxE3AN9NosFx0U4TivNjyB
4vRcFW5KKA+pX2u/hnZhTmmnjMxOctBSSJlQauDj4hezQOZ2e2Ihk3MYa305Tsfetsf9
gxfUHUaOMiG6cxYlXXrOTh1672nssxltpFEu3gpUjRFYVR1IK+uljp5reMThYypS8k34
tNIZAU6+mXFO7oAG8JSx4IDSTEYa+Svu27WWpAynM60N1KEU5UK9snkaYKq6VLx503Sz
Ogig==
X-Gm-Message-State: AOAM531D/oVC0K+QjfjsMxMllZUNv05m2vm74DBf1R7S91QxBoxhmNoq
vPdT8pqNkLGHY58jrNTJ6IIUoxLkcbPpGw==
X-Google-Smtp-Source: ABdhPJy2NHXumYkf4Ya3BFZuobzwYOq7SVWy3I/XgUstO9GrYpRm764oLeE0JMYqowDFwDYmstZWsA==
X-Received: by 2002:a37:ef13:: with SMTP id j19mr8524732qkk.184.1599075167492;
Wed, 02 Sep 2020 12:32:47 -0700 (PDT)
To: cygwin AT cygwin DOT com
From: Michael Moats <m DOT moats AT 3arts DOT us>
Subject: Cygwin terminal fails to start after win update
Message-ID: <ae289f5e-6670-d55a-607e-f8afb0f3a785@3arts.us>
Date: Wed, 2 Sep 2020 14:32:45 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101
Thunderbird/68.12.0
MIME-Version: 1.0
X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00, BODY_8BITS,
FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,
HTML_MESSAGE, KAM_DMARC_STATUS, KAM_INFOUSMEBIZ, RCVD_IN_DNSWL_NONE,
RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,
SPF_PASS autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
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>
Reply-To: m DOT moats AT 3arts DOT us
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 082JXFsA002022

Hello. Loaded cygwin a few weeks ago, but after windows 10 update, 
mintty term fails to start.

Versions:
cygwin 3.1.6-1

OS Name    Microsoft Windows 10 Home
Version    10.0.19041 Build 19041

When problem first noticed:
Error: Could not fork child process: Resource temporarily unavailable (-1).
DLL rebasing may be required; see 'rebaseall / rebase --help'.
(and terminal allows no typing)

When attempt is made to add dll, bash and some other individual 
exceptions to firewall ASLR settings, Mintty starts & shell commands 
such as echo and pwd will work, but commands from /bin (i.e. ls, ln, 
grep, vi, cat, which) return nothing. Maybe more exceptions needed, but 
which ones?

To get cygwin working a usual, these gross windows defender firewall 
changes were made:

Windows Security
     App & browser control
         Exploit protection

Force randomization for images (Mandatory ASLR)
     Force relocation of images not compiled with /DYNAMICBASE
-> Off by default     [Mintty working]
-> On by default    [Mintyy not working]

Randomize memory allocations (Bottom-up ASLR)
     Randomize locations for virtual memory allocations.
-> Off by default     [Mintyy working]
-> On by default    [Mintyy not working]

High-entropy ASLR
     Increase variability when using Randomize memory allocations 
(Bottom-up ASLR)
-> Off by default     [Mintty working]
-> On by default    [Mintty not working]

When Cyg/Mintty is working with above gross changes:
     $ cd /usr

     $ ln -s /bin /usr/bin

     $ ls -i | grep bin
     1125899907459844 bin/
     562949954038681 sbin/

     $ cd ..

     $ ls -i | grep bin
     1125899907459844 bin/
     562949954038681 sbin/

     $ ps -ef | grep -i min
        XXXXX     649       1 ?        13:18:14 /usr/bin/mintty

Thanks in advance!!

-- Michael Moats


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

- Raw text -


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