delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/23/09:06:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sat, 22 Feb 2003 21:59:46 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
cc: cygwin AT cygwin DOT com
Subject: Re: sshd fills syslog on Win98
In-Reply-To: <3.0.5.32.20030222201507.007f6ba0@mail.attbi.com>
Message-ID: <Pine.GSO.4.44.0302222157100.16682-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Sat, 22 Feb 2003, Pierre A. Humblet wrote:

> On Win98 sshd fills syslog with error lines such as
>
> 2003-02-22 18:33:26 : sshd : PID 213289 : LOG_ERR :
>  error: Failed to disconnect from controlling tty.
> 2003-02-22 18:33:32 : sshd : PID 771213 : LOG_INFO :
>  syslogin_perform_logout: logout() returned an error
>
> *****
> The first seems to originate from sshpty.c
>         if (setsid() < 0)
>                 error("setsid: %.100s", strerror(errno));
>
>         /*
>          * Verify that we are successfully disconnected from the controlling
>          * tty.
>          */
>         fd = open(_PATH_TTY, O_RDWR | O_NOCTTY);
>         if (fd >= 0) {
>                 error("Failed to disconnect from controlling tty.");
>                 close(fd);
>         }
> *******
> The second from loginrec.c
>
> static int
> syslogin_perform_logout(struct logininfo *li)
> {
>         (void)line_stripname(line, li->line, sizeof(line));
>
>         if (!logout(line)) {
>                 log("syslogin_perform_logout: logout() returned an error");
>
> Pierre

I've reported the same thing happening on Win2k, see
<http://cygwin.com/ml/cygwin/2003-02/msg00546.html>.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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