delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/29/13:30:25

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <39D4D0A9.90D61B24@cygnus.com>
Date: Fri, 29 Sep 2000 19:26:01 +0200
From: Corinna Vinschen <vinschen AT cygnus DOT com>
Reply-To: cygwin <cygwin AT sources DOT redhat DOT com>
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14-SMP i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: "Steve O'Brien" <steve DOT obrien AT tradezone DOT co DOT uk>
CC: cygwin <cygwin AT sources DOT redhat DOT com>
Subject: Re: patch for inetutils
References: <000c01c02884$0d7e0290$1000010a AT tzi>

Steve,

first of all thanks for your effort.

Steve O'Brien wrote:
> 1) rlogin - does not terminate cleanly
> This is because of an error in setting signals - specifically catch_client
> does not get installed as the handler for SIGCHLD so that the parent process
> does not tidy up correctly when its child terminates. My fix is a very minor
> change to libinetutils/setsig.c

Hmm, this does fix the problem only in CYGWIN=tty mode. I just tried
it three times with notty and it was worse than before. Pressing
the RETURN key doesn't return to the shell prompt anymore. So I will
not check in that until the problem is solved for notty as well.

> 2) rshd - must wait 10 minutes between connections from same client

This has been fixed on Tuesday and is part of 1.3.2-7 which has been
announced Wednsday. I got a fix on 7th Sep from Jason Gouger which I
only checked in Tuesday due to my vacations.

> 3) rshd - always segvs without execing the command (on my system at least).
> Occurs when syslog is called to log the request. The variable "hostname"
> appears to be a "wild" pointer where it is passed to syslog just before the
> call to execl. My fix is just to remove the syslog call - not ideal but at
> least not I can rsh onto my NT box again!

Thanks for the pointer. I have solved that by copying the content
of hostname to a save location via `strdup()'. This let the syslog
still work as before.

Note that on my W2K system the syslog contained an empty hostname
while it never crashed. Weird. Just for the records: Which system
are you using?

> 4) rsh - cannot invoke it as rsh.exe
> I have modified the test of argv[0] in rsh.c so that either rsh or rsh.exe
> are accepted as being not host names.

I see. I have checked in an appropriate patch which additionally
tests the name case insensitive as I did that already in OpenSSH.

You will see your changes in the next version soon.

Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                        mailto:cygwin AT sources DOT redhat DOT com
Red Hat, Inc.
mailto:vinschen AT cygnus DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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