Mail Archives: cygwin/2003/02/23/09:06:32
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 -