delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/26/20:01:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <959DF48BD1458D4C8DBFDAC8DF80D7F701D500A4@europa.ats.sensis.com>
From: "Rancier, Jeff" <Jeff DOT Rancier AT Sensis DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: RE: Problem with 'cvs login'
Date: Tue, 26 Apr 2005 20:01:06 -0400
MIME-Version: 1.0
X-Sensis-MailScanner-Information: Scanned at Sensis Corporation by MailScanner
X-Sensis-MailScanner: Found to be clean
X-Sensis-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-5.899, required 5, autolearn=not spam, ALL_TRUSTED -3.30, BAYES_00 -2.60)
X-MailScanner-From: jeff DOT rancier AT sensis DOT com
X-IsSubscribed: yes
Note-from-DJ: This may be spam

Although I still can't login with my login (I found an old .cvspass for
which I knew the password).  BTW can someone point me a utility to create
one which will work for CVS.  When I try to change my passwd for bash, via
passwd, it declares I'm not a valid user, although I'm in /etc/passwd).  I
removed the SYSTEMROOT entry from the passenv line in my
/etc/xinetd.d/cvspserver, recycled xinetd, and attempted an anonymous login
and it failed as before.  Changed it back, and it worked.  Here's the
screenshot:

,----
| jrancier AT jrancier ~
| $ ps -ef
|      UID     PID    PPID TTY     STIME COMMAND
| jrancier    1388       1 con  19:53:15 /usr/bin/bash
| jrancier    1768    1388 con  19:53:52 /usr/bin/ps
| 
| jrancier AT jrancier ~
| $ /usr/local/bin/xinetd.start
| 
| jrancier AT jrancier ~
| $ cvs -d :pserver:anonymous AT jrancier:/usr/local/cvsroot login
| Logging in to :pserver:anonymous AT jrancier:2401/usr/local/cvsroot
| CVS password:
| cvs [login aborted]: reading from server: Software caused connection abort
| 
| jrancier AT jrancier ~
| $ ps -ef
|      UID     PID    PPID TTY     STIME COMMAND
| jrancier    1388       1 con  19:53:15 /usr/bin/bash
|   SYSTEM     988       1   ?  19:53:59 /usr/sbin/xinetd
| jrancier    1628    1388 con  19:54:59 /usr/bin/ps
| 
| jrancier AT jrancier ~
| $ kill 988
| 
| jrancier AT jrancier ~
| $ /usr/local/bin/xinetd.start
| 
| jrancier AT jrancier ~
| $ cvs -d :pserver:anonymous AT jrancier:/usr/local/cvsroot login
| Logging in to :pserver:anonymous AT jrancier:2401/usr/local/cvsroot
| CVS password:
| 
| jrancier AT jrancier ~
| $
`----

Jeff

-----Original Message-----
From: Christopher Faylor [mailto:cgf-no-personal-reply-please AT cygwin DOT com] 
Sent: Tuesday, April 26, 2005 7:06 PM
To: cygwin AT cygwin DOT com
Subject: Re: Problem with 'cvs login'


On Tue, Apr 26, 2005 at 02:43:06PM -0700, Brian Dessent wrote:
>"Rancier, Jeff" wrote:
>
>> |    passenv     = PATH
>
>I don't know if this applies in your situation, but if xinetd is 
>stripping SYSTEMROOT from the child process' environment, then all 
>socket functions in that process will fail.  I think recent versions of 
>the cygwin1.dll have measures to prevent this from happening, but just 
>for grins try adding SYSTEMROOT to the above and see if it makes any 
>difference.

If that really does fix the problem then something is broken in CYGWIN.

Corinna fixed things so that this should no longer be a problem:

http://sources.redhat.com/ml/cygwin-announce/2004-11/msg00014.html

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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