X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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)" <DAHabermann@dow.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: mintty startup message: /sbin/nologin: No such file or directory
Date: Sat, 21 Mar 2015 13:50:38 +0000
Message-ID: <C9D37D92E903B347A31B9CF82643BA28074B1ED6@046-CH1MPN1-042.046d.mgd.msft.net>
References: <CAO73BABq1D5fUhJYcdc1J5-gP_0NRu3Z5LBcR6NKPbk0bpuc2g@mail.gmail.com>
In-Reply-To: <CAO73BABq1D5fUhJYcdc1J5-gP_0NRu3Z5LBcR6NKPbk0bpuc2g@mail.gmail.com>
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@dow.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:	<DM2PR0101MB1182C8F5D341A4F3D1BA3958BC0F0@DM2PR0101MB1182.prod.exchangelabs.com>
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@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of Mirko Vukovic
Sent: Friday, March 20, 2015 10:14 PM
To: cygwin@cygwin.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


