[946] in Zephyr_Bugs

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

Re: zwgc pid issues

daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon Jul 27 22:51:08 1998

Date: Mon, 27 Jul 1998 22:51:04 -0400
From: Greg Hudson <ghudson@MIT.EDU>
To: Gene Skonicki <gene@imsa.edu>
Cc: zephyr-bugs@MIT.EDU
In-Reply-To: "[945] in Zephyr_Bugs"

> So, below is a one-line diff that makes each instance of zwgc unique
> on a host and avoids unlink()'ing /tmp/wg.getuid().  I hope you'll
> consider applying it.  It makes no functional difference for current
> users, and for thsoe who have needs such as ours, it is a boon.

It most certainly does have a functional different for current users;
zctl would be unable to talk to a user's zwgc process.

If possible, you should arrange set the WGFILE environment variable to
something like /tmp/wg.$$ (pid of the shell) at login time.

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