[7001] in testers

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

Re: 9.4: finger on Suns

daemon@ATHENA.MIT.EDU (Robert A Basch)
Wed May 18 16:55:34 2005

From: Robert A Basch <rbasch@MIT.EDU>
To: Laura Baldwin <boojum@mit.edu>
Cc: testers@mit.edu, justom@mit.edu
In-Reply-To: <200505181729.j4IHT43C024712@geskekelud.mit.edu>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1116449641.19665.71.camel@anhedonia.mit.edu>
Mime-Version: 1.0
Date: Wed, 18 May 2005 16:54:01 -0400

On Wed, 2005-05-18 at 13:29, Laura Baldwin wrote:
> Finger returns "finger: Can't stat /dev/:0" to a 9.4 Sun workstation
> that someone is logged into.

Thanks for reporting this.

This is the result of changes to dm and xlogin to stop using the
console redirection pseudo-terminal as the session's controlling
terminal; they now use the display name instead of the terminal
as the device in the utmp record (as gnome-session does in stock
RHEL 3).  The Solaris finger program apparently requires an actual
device name in the record; it looks like stock Solaris uses
"console" here.

There are a few possible solutions:

1) Change dm and xlogin to use the console terminal name
   ("console" on Solaris, "tty7" on Linux) for the utmp record.

2) Add Solaris-specific code to dm/xlogin to use "console" for
   the utmp record, while continuing to use the display name
   on Linux, in order to match native behavior.

3) Use our own finger program on Solaris, and leave dm/xlogin
   as is.

I'll probably do (1).

Bob


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