www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/06/10/13:29:25

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 55AHTOHg2660568
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 55AHTOHg2660568
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=Wb823eyj
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 03BEC38393A5
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1749576562;
bh=p0SOHKe3UbiyqmyochCzGRyay4L/Kvq/v7BgzH62zwU=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=Wb823eyjXWl/mnyETGV4rvaQZJNerL0aGIp2ZeJNrFHmaxOtFDp0prn21DohCy3p0
G2K0hlnk9tgq/ZTNFOG7HLoaQbdetYWVMjovnpQ/RMFmo60P2Tuf7FjcIcXv3Tw/wT
XqT/tqZWJHKhISgRAIIozqGgNMZETM8/jFGwNQUw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C19573858CD1
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C19573858CD1
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749576494; cv=none;
b=abbVrx2U/QwT8naXdlShTNvFs+GD0p0gUiXf1hpHtesG3reqRDCTQELMCt7BMj1C/n42bTqZQ3CaeSBQwDS0NFhuJH2wk62IfY2ctlUmmeFrc8/uk/fEuhNDWDhH7GtQROTHrfDmkBwcBWNNPDlOYCBTsb9nYkw7r6NRYFo3SHw=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1749576494; c=relaxed/simple;
bh=2LJYh9krZrXMy0+NRNcgIUg9ME3IF279h1ZsmH6IRpg=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
b=sd+yxh8zaiX9TFFCMdgTI9U0UXuM0z1Y0bYEG6HIREVCvLE2RzXxyfMFiR/G7Img61M0B2UZHex5Wf91Yi6VUbQWac3Inp+ZmOFbaKvEA8FTe8X44j2t76wpKzIawduc/3Jtn6RJsISKebmLHjJydwzsO4z9aJ2E1yqR80fOKZo=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C19573858CD1
Message-ID: <121b6e14-c291-411d-ad18-ff1303ecb2db@roumenpetrov.info>
Date: Tue, 10 Jun 2025 20:28:08 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: cygin 3.6.2-1 under Win11 24H2: Cannot launch: no available
terminals
To: cygwin AT cygwin DOT com
References: <CAL148o6i=r+G=cEQzs5e+KmMt07FxJHhMnoNnquhM0JJuyrwtA AT mail DOT gmail DOT com>
<145533698 DOT 20250528134347 AT yandex DOT ru>
<CAL148o78xauJxEeF20g2JsH2od0EAskwAhb1K-s5P4gPZdTVZg AT mail DOT gmail DOT com>
<0c47bb62-84e1-0828-7e03-c0e7b7583e11 AT gmx DOT de>
<cedfcad2-2b94-86af-1f91-b3a850c6c75d AT gmx DOT de>
In-Reply-To: <cedfcad2-2b94-86af-1f91-b3a850c6c75d@gmx.de>
X-AntiAbuse: This header was added to track abuse,
please include it with any abuse report
X-AntiAbuse: Primary Hostname - rila.superhosting.bg
X-AntiAbuse: Original Domain - cygwin.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - roumenpetrov.info
X-Get-Message-Sender-Via: rila.superhosting.bg: authenticated_id:
master78 AT roumenpetrov DOT info
X-Authenticated-Sender: rila.superhosting.bg: master78 AT roumenpetrov DOT info
X-Source:
X-Source-Args:
X-Source-Dir:
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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: Roumen Petrov via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Roumen Petrov <bugtrack AT roumenpetrov DOT info>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 55AHTOHg2660568

На 5.06.25 г. в 15:49 ч., Johannes Schindelin via Cygwin написа:
[SNIP]
>> and bisecting my problem to
>> https://github.com/cygwin/cygwin/commit/48e7d632689313106d16b0de035fb955c54492b2,
>> the following diff (which partially reverts that commit) fixes it for me:


Dunno what is correction in v3.6.3 but functionality is restored.


>>
>> ```diff
>> diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc
>> index 83883f9f65..795a00cc1a 100644
>> --- a/winsup/cygwin/uinfo.cc
>> +++ b/winsup/cygwin/uinfo.cc
>> @@ -1996,10 +1996,12 @@ pwdgrp::fetch_account_from_windows (fetch_user_arg_t &arg, cyg_ldap *pldap)
>>         if (sid_id_auth (sid) == 5 /* SECURITY_NT_AUTHORITY */
>>   	  && sid_sub_auth (sid, 0) == SECURITY_APPPOOL_ID_BASE_RID)
>>   	break;
>> +#if 0
>>         /* AzureAD SIDs */
>>         if (sid_id_auth (sid) == 12 /* AzureAD ID */
>>   	  && sid_sub_auth (sid, 0) == 1 /* Azure ID base RID */)
>>   	break;
>> +#endif
>>         /* Samba user/group SIDs */
>>         if (sid_id_auth (sid) == 22)
>>   	break;
>> ```
>>
>> Now, the commit message of that commit includes the name of the reporter,
>> which helped me find
>> https://inbox.sourceware.org/cygwin/pbli6jecn5go2h7heebwivkwz6xf5h2stvq5fxna4u6pql6uht AT 7xpentpxjiak/
>> as the original reason for that commit. That request only talked about
>> `S-1-15-3-*`, though, and not about `S-1-12-1-*`. And the commit message
>> makes it sound as if my SID would never resolve by `LookupAccountSid()`,
>> but it clearly does.
>>
>> So I am not quite sure what to make of this finding... Should the
>> `S-1-12-1-*` part of 48e7d63268 (Cygwin: fetch_account_from_windows: skip
>> LookupAccountSid for SIDs known to fail, 2025-04-10) simply be dropped? Or
>> was there another clever idea to exploit a shortcut that would side-step
>> the need to call `LookupAccountSid()` for those SIDs and set `ret = TRUE`?
>>
>> Puzzled,
>> Johannes

[SNIP]

Thanks for all your efforts.


Regards,
Roumen Petrov


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