delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/09/13:06:57

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Date: Tue, 9 Mar 2010 10:06:47 -0800
From: Cesar Crusius <cesar AT cariden DOT com>
To: cygwin AT cygwin DOT com
Subject: "can't create master tty" errors
Message-ID: <20100309180647.GB3442@sunray.mv.cariden.com>
Reply-To: Cesar Crusius <cesar AT cariden DOT com>
MIME-Version: 1.0
User-Agent: Mutt/1.5.19 (2009-01-05)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi all,

I am using Cygwin and SSH to do automated remote builds using Visual
C++. It works for a few days, but invariably things start failing with
messages like these (this one from a build log):

Makefile:9: MakePID: 5964
      1 [main] env 2748 C:\cygwin\bin\env.exe: *** fatal error - can't create master tty

At this point, even if I 'rdesktop' to the build machine and try to get
a console (by clicking "Cygwin" on the desktop) I get nothing: the
console window comes up, issues the above error, and exits (this all
very fast). Rebooting solves the problem for a while (restarting
cygserver/sshd doesn't do anything).

To the setup then:

The computer is joined to an AD domain, and the account under which the
builds are done is remote (uses shared folders). Since the build system
has to issue one 'NET USE' statement to map a drive (visual C++ doesn't
like UNC paths), we have cygserver running (under the SYSTEM account)
and the logon implemented using method 3 of
http://www.cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview

SSHD is running under the AD's administrator account, and the build
account logs in using PKA.

% uname -a
CYGWIN_NT-5.2 mv011 1.7.1(0.218/5/3) 2009-12-07 11:48 i686 Cygwin

% echo $CYGWIN
binmode tty ntsec

Any help would be greatly appreciated. (The build, when it works, is
very slow, but at this point I need to get it working first before
getting it to work fast...)

Best,

- Cesar

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

- Raw text -


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