Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: "Pierre A. Humblet" 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: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 . 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/