X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=jfm9IHeoe2DMiplb67S0sUvk0lASg /zirQc2Dmvip4WRMC7S6tn3tRzLEhb9Bh2PPkwwZ/utHnyBqK+RZfScB0epnMqFO SvwKbem0tk/iNBBr9ohJkEkLYRr+x+jbbGbX9LnlpMZ0KWar+9jGlxvxb9O4diD3 TQ7HoOdW/mdj9o= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=JDqJKcse2GwumNYXSQv4ierF+0I=; b=MF0 F9llGeA7aQY1fChLvTgZFxj6i6oqlBAKALHT2Nec+8mTfPliGxmLUyGPEe6smZJc ClUZrG3/ordrFFjyYdQ3OJTBDQx5EaEWw9nx1QGCLsbsKjtd5l8CXDuKBio2Qust Brp240ZCxilUzgpzh7wxqqzhOto3Kbx1rWdaataU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: Yes, score=6.8 required=5.0 tests=AWL,BAYES_50,CYGWIN_OWNER_BODY,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_NONE,SPAM_BODY1,SPF_HELO_PASS autolearn=spam version=3.3.2 X-HELO: na01-bn1-obe.outbound.protection.outlook.com From: "Habermann, David (D)" To: "cygwin AT cygwin DOT com" Subject: RE: mintty startup message: /sbin/nologin: No such file or directory Date: Sat, 21 Mar 2015 13:50:38 +0000 Message-ID: References: In-Reply-To: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-OrganizationHeadersPreserved: 046-CH1MMR1-009.046d.mgd.msft.net X-EOPAttributedMessage: 0 Received-SPF: None (protection.outlook.com: dow.com does not designate permitted sender hosts) Authentication-Results: spf=none (sender IP is 65.52.44.158) smtp.mailfrom=DAHabermann AT dow DOT com; cygwin.com; dkim=none (message not signed) header.d=none; X-Forefront-Antispam-Report: CIP:65.52.44.158;CTRY:US;IPV:NLI;EFV:NLI;BMV:1;SFV:NSPM;SFS:(10009020)(6009001)(428002)(13464003)(377454003)(164054003)(189002)(199003)(15395725005)(104016003)(110136001)(551544002)(105586002)(46102003)(107886001)(22746005)(86146001)(106116001)(47776003)(106466001)(22756005)(2351001)(2656002)(2501003)(102836002)(15975445007)(86362001)(6806004)(76176999)(33656002)(50986999)(54356999)(55846006)(92566002)(2920100001)(23676002)(2950100001)(2900100001)(2420400003)(87936001)(62966003)(77156002)(19580395003)(450100001)(101416001)(19580405001)(50466002)(79686002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM2PR0101MB1182;H:mail.bsnconnect.com;FPR:;SPF:None;MLV:sfv;MX:1;A:1;LANG:en; X-CrossPremisesHeadersPromoted: BL2FFO11FD054.protection.gbl X-CrossPremisesHeadersFiltered: BL2FFO11FD054.protection.gbl X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0101MB1182; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(5002010)(5005006);SRVR:DM2PR0101MB1182;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0101MB1182; X-Forefront-PRVS: 05220145DE X-OriginatorOrg: dow.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2015 13:50:39.7217 (UTC) X-MS-Exchange-CrossTenant-Id: c3e32f53-cb7f-4809-968d-1cc4ccc785fe X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=c3e32f53-cb7f-4809-968d-1cc4ccc785fe;Ip=[65.52.44.158];Helo=[mail.bsnconnect.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0101MB1182 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id t2LDp0wY012582 I observed the same error. In my case, it was apparently caused by a too-rapid startup at boot of cygserver, which apparently could not connect to LDAP at that early stage. If I prevented any of my Cygwin services from starting at boot, and then started them manually once I logged in, the problem was not observed. My current solution (still perhaps not the best) is to set all of my Cygwin services to start as "Automatic (Delayed Start)" in the services control panel. This does solve my problem, but causes about a 1-2 minute delay in the availability of sshd/httpd2 after a reboot. NOTE: I've also set all of my other Cygwin services to be dependent on cygserver as described in the Cygwin documentation. Dave -----Original Message----- From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Mirko Vukovic Sent: Friday, March 20, 2015 10:14 PM To: cygwin AT cygwin DOT com Subject: mintty startup message: /sbin/nologin: No such file or directory Hello, after upgrading cygwin64 on my company laptop, mintty gives the following message *when connected to the network from home*: /sbin/nologin: No such file or directory Pressing enter closes the window. I can start bash from Windows' command window. From there, I see that there is no /sbin/nologin file, heck there is no /sbin either. A couple of data points: - After the upgrade, I renamed away the /etc passwd and group files. - I was able to open mintty while connect to the network at work I have an almost identical setup on my other windows 7 desktop (always connected to the network) that does not exhibit this problem. I saw some posts from 2011 about creating my own file but I am puzzled as to why I see this on my laptop and not on my desktop. I looked in Windows logs and saw nothing. I saw nothing in /var/log Thanks, Mirko -- 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