buglets with pts - with patch

Michal Mertl michal.mertl at i.cz
Fri Feb 3 05:03:30 PST 2006


Michal Mertl píše v pá 03. 02. 2006 v 11:01 +0100:
> Michal Mertl píše v pá 03. 02. 2006 v 00:29 +0100:

> I also have just confirmed there is also one more bug - I don't see all
> the ptys - I probably didn't investigate it enough but it seems that
> pts/0 is never displayed by w, who or wall. It is correct is last output
> though and ps also shows the processes running on it. I think that
> whatever writes to /var/tmp/utmp doesn't write pts/0 lines to it (so w,
> who and wall don't see it) but they are written correctly
> to /var/log/wtmp (so last sees it).

I found out that when I login through sshd who displays pts/0 correctly.
I also found that even last shows incorrectly whether I am still logged
in or not when pty is allocated with gnome-terminal or xterm.

Michal



More information about the freebsd-current mailing list