[3797] in testers

home help back first fref pref prev next nref lref last post

Re: more xlogin stderr fun

daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu Jul 16 16:04:15 1998

Date: Thu, 16 Jul 1998 15:59:06 -0400
From: Greg Hudson <ghudson@MIT.EDU>
To: Greg Hudson <ghudson@MIT.EDU>
Cc: Dan Winship <danw@MIT.EDU>, testers@MIT.EDU
In-Reply-To: "[3791] in testers"

> * Why console is getting a 0 or -1 read from fd 3 at any
>   point.  It could be that some process is doing a write(...,
>   ..., 0) to the console.

Zero-length writes are coming from the detach -a, one per locker, on
Dan's machine.  I can't figure out why from looking at the code.

> 	* Under what conditions this failure mode arises.

There is some buffering in the pipe.  Perhaps this failure mode
affects mainly people who attach a lot of lockers, since they generate
a lot of reactivate output from the "detach -a".  Not sure.

Anyway, my console fix should deal with the problem.

home help back first fref pref prev next nref lref last post