[2831] in Release_Engineering

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

Re: Problem with setpag and login/xlogin

daemon@ATHENA.MIT.EDU (Ezra Peisach)
Mon May 18 09:59:26 1992

To: "Richard Basch" <basch@MIT.EDU>
Cc: builder@MIT.EDU, rel-eng@MIT.EDU
In-Reply-To: Your message of Sun, 17 May 92 21:17:36 -0400.
Date: Mon, 18 May 92 09:58:55 EDT
From: Ezra Peisach <epeisach@Athena.MIT.EDU>

Code is no good. It assumes that for ultrix rdev is 0xff00. There is no
one to one mapping like that. The better solution for ultrix is to use
statfs and check the fs_type field for GT_NFS. Unfortunately, BSD does
not have this as an option. (You can also test for GT_AFS for AFS). Also
the assumption for AFS returning 1 is also at fault. I just tested it.

The sun interface is broken on this "magic" as well.

We still have the brokeness of the detaching of the homedir which this
solution does not address as every login will now assume that they were
responsible for attaching.

Maybe there can be a way for attach to return to login that the
filesystem is already attached and only is authenticating....
(login could parse attach's output but this is too ugly)
A different exit status would not be the solution as it may break
something else. (Or course, if it's a different exit status when attach
is invoked with a special flag, then we are probably ok)

	Ezra

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