From owner-freebsd-current Thu Sep 6 10:27:24 2001 Delivered-To: freebsd-current@freebsd.org Received: from coffee.q9media.com (coffee.q9media.com [216.94.229.19]) by hub.freebsd.org (Postfix) with ESMTP id CF59D37B401; Thu, 6 Sep 2001 10:27:15 -0700 (PDT) Received: (from mike@localhost) by coffee.q9media.com (8.11.2/8.11.3) id f86HTLf06981; Thu, 6 Sep 2001 13:29:21 -0400 (EDT) (envelope-from mike) Date: Thu, 6 Sep 2001 13:29:21 -0400 From: Mike Barcroft To: "Eugene L. Vorokov" Cc: current@FreeBSD.org Subject: Re: corrupted 'w' output Message-ID: <20010906132921.C1976@coffee.q9media.com> Mail-Followup-To: Mike Barcroft , "Eugene L. Vorokov" , current@FreeBSD.org References: <200109061151.f86Bpd769679@bugz.infotecs.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200109061151.f86Bpd769679@bugz.infotecs.ru>; from vel@bugz.infotecs.ru on Thu, Sep 06, 2001 at 03:51:38PM +0400 Organization: The FreeBSD Project Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [Moved to -current, BCC'd to -hackers] Eugene L. Vorokov 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-current" in the body of the message