Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2001 13:29:21 -0400
From:      Mike Barcroft <mike@FreeBSD.org>
To:        "Eugene L. Vorokov" <vel@bugz.infotecs.ru>
Cc:        current@FreeBSD.org
Subject:   Re: corrupted 'w' output
Message-ID:  <20010906132921.C1976@coffee.q9media.com>
In-Reply-To: <200109061151.f86Bpd769679@bugz.infotecs.ru>; from vel@bugz.infotecs.ru on Thu, Sep 06, 2001 at 03:51:38PM %2B0400
References:  <200109061151.f86Bpd769679@bugz.infotecs.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
[Moved to -current, BCC'd to -hackers]

Eugene L. Vorokov <vel@bugz.infotecs.ru> writes:
> Hello,
> 
> I updated from -current yesterday, ran "make world; make kernel KERNCONF=X"
> and went to bed. When I rebooted with fresh kernel this morning, I noticed
> something strange:
> 
> vel@bugz:/usr/src # w
>  3:47PM  up  5:38, 4 users, load averages: 0.00, 0.11, 0.08
> USER             TTY      FROM              LOGIN@  IDLE WHAT
> vel              p0       kg.infotecs.ru   10:11AM     2 ssh -l vel bsx.ru
> vel              p1       kg.infotecs.ru   10:22AM     - w
> vel              p2       kg.infotecs.ru   12:13PM  1:55 \M-[\M-!\^D\b (tcsh)
> vel              p3       kg.infotecs.ru   12:53PM     2 \M-[\M-!\^D\b (tcsh)
> 
> This only happens for terminals that are in a shell, when something else
> is running, output isn't corrupted. I think someone reported similar problem
> with 'ps' output.
> 
> Regards,
> Eugene

Those shell argv[0]'s are generated by login(1).  I wonder if it was a
recent commit to src/usr.bin/login/login.c that is causing it.  Can you
try locally backing out Rev. 1.68 (and Rev 1.36 of Makefile)?  You will 
ofcourse have to relogin to see whether the w(1) output has changed.

BTW, I can't reproduce this problem locally.  Is there any special
about your local configuration, particularly regarding PAM?

Best regards,
Mike Barcroft

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010906132921.C1976>