Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: error on TTY read: no such file or directory



In the gothic chambers of the underworld on Tue 11 Sep 2001 at 10:01 -0400,
Bart Schaefer muttered darkly:

> On Sep 11,  8:49am, lordzork@xxxxxxxxxxxx wrote:
> }
> } also, as i said, this problem happens *only* when i login as root, and
> } then only from a tty.
> 
> Please try adding
> 
>     ((UID)) || {
> 	set -x
> 	exec 2>|/tmp/login-trace
>     }
> 
> to /etc/zshenv.  Then log in and let it boot you out.  Then log in again
> (as someone other than root) and examine /tmp/login-trace to see whether
> any unexpected commands are being executed.
> 

i see nothing out of the ordinary, just the normal reading of the
config files. and then, this:

+/root/.zsh/.zshrc:1> path=( /bin /sbin /usr/bin /usr/sbin
/usr/local/bin /usr/local/sbin /sys ) 
zsh: error on TTY read: no such file or directory
+/root/.zsh/.zlogout:1> sleep 5
 
so i don't know... this has me completely stumped. i've tried three
different kernel versions (2.4.{7,9,10}), i've recompiled zsh without
any cflags, and i've even reinstalled the entire system from scratch.
and yet the problem persists.


t.

-- 
4.0k -rw-rw-r--    1 zork     zork       17 Apr 4 17:38 .signature



Messages sorted by: Reverse Date, Date, Thread, Author