[OpenAFS] k5start and AFS tokens
Benjamin Kaduk
kaduk@MIT.EDU
Fri, 26 Sep 2014 21:58:03 -0400 (EDT)
On Fri, 26 Sep 2014, Jaap Winius wrote:
> Quoting Benjamin Kaduk <kaduk@MIT.EDU>:
>
> > The k5start mindset is to avoid having to have a separate periodic process
> > that prepares tickets/tokens for some independent process to consume --
> > instead, the process consuming the tickets/tokens is a child process,
> > wrapped by k5start. ...
>
> Are you suggesting that I not start k5start from /etc/inittab, but instead
> alter the /etc/init.d/ script that starts up the daemon in question, for
> instance so that the start-stop-daemon invocation starts k5start that in turn
> starts up the daemon? And maybe then the -t option will work?
That's the general idea, yes. I suppose it can get messy if there are
pidfiles involved, and I haven't read the details of the manpage to see
how that works, but that's what I imagine the "typical deployment" being.
-Ben