[3212] in Athena Bugs

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

[Richard Basch: Re: /tmp/Xbin (actually deactivate in general)]

daemon@ATHENA.MIT.EDU (probe@ATHENA.MIT.EDU)
Fri Sep 15 11:20:24 1989

From: <probe@ATHENA.MIT.EDU>
Date: Fri, 15 Sep 89 11:19:23 -0400
To: quality@ATHENA.MIT.EDU, doc-bugs@ATHENA.MIT.EDU
Reply-To: Richard Basch   <probe@ATHENA.MIT.EDU>

I answered this because of the CellServDB, which is AFS related...
Perhaps some documentation to this effect should be made.  I am
forwarding this response both to "quality" and "doc-bugs" for the
purpose of explaining about CellServDB and CellServDB.public.

-Richard

------- Forwarded Message

From: <probe@ATHENA.MIT.EDU>
Date: Fri, 15 Sep 89 10:34:57 -0400
To: hkbirke@ATHENA.MIT.EDU
Cc: bugs@ATHENA.MIT.EDU, quality@ATHENA.MIT.EDU, danapple@ATHENA.MIT.EDU,
        hkbirke@ATHENA.MIT.EDU, mjkobb@ATHENA.MIT.EDU
In-Reply-To: Hal Birkeland's message of Fri, 15 Sep 89 03:16:20 -0400,
	<8909150716.AA12367@MOVIES.MIT.EDU>
Subject: Re: /tmp/Xbin (actually deactivate in general)
Reply-To: Richard Basch   <probe@ATHENA.MIT.EDU>
Address:  3 Ames Street    Cambridge, MA  02139
Phone:    (617) 225-6355


/etc/athena/deactivate does not get run until there are no entries in
/etc/utmp.  No claims have been made if it is run manually as root.
The cleanup turns out to be essential.

  	1)	it should not remove /tmp/* blindly on deactivation! this stomp
  on many things such as X servers (not usually a problem), galatea servers
  (a major problem) and /tmp/Xbin (a major problem... emacs bounces through it
  regardless of terminal type!). instead it should remove all files and leave
  directories and unix-style directories alone (ie, remove the contents thereof
  but not the directories themselves and leae .*/* alone)

Since /tmp/Xbin gets created during /etc/athena/activate and
/etc/athena/deactivate does not normally get run while people are logged
in, there shouldn't be a problem here.  /tmp is considered VERY
temporary space, and anything requiring more than a login session should
not be stored here.  /usr/tmp is considered temporary, but will last for
a few days.

  	2)	CellServDB.public should be grabbed locally if a local
  one exists (and from the packs if the local one isn't there).

Supported customization:
Break the link from CellServDB to CellServDB.public.  If you want to
maintain a reasonably up-to-date one, may I suggest the following in
deactivate.local:

	(cd /usr/vice/etc; cat CellServDB.public CellServDB.local > CellServDB)

-Richard

------- End Forwarded Message

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