[OpenAFS] afsd -rmtsys and shutdown

Russ Allbery rra@stanford.edu
Mon, 08 Jan 2007 11:59:20 -0800


Derrick J Brashear <shadow@dementia.org> writes:

> So basically, what *should* happen is that afsd -shutdown should cause
> it to die, bt doesn't, because it's a new invocation of afsd. So it
> can't remember rmtsysd's pid

> I could do something where a child like the afsd handler holds in a
> syscall until it gets a shutdown call, and then kills rmtsysd by pid.

> That's the best idea I have. Other thoughts?

That would work.  We could also just write the PID to a file and have afsd
-shutdown read it back from the file to kill the other process.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>