[OpenAFS] k5start, AFS and long-running daemon
Tue, 18 Jan 2011 06:17:07 +0100 (CET)
> The difficulty here is that starting the command in a PAG is combined with
> exiting when the command exits, which doesn't work well for daemons.
You are right, the problem here is probably how the daemon forks and
exits one child and leaves the behind the nicely created environment
of k5start/kinit. In that case I normally run the daemon in some kind
of debug mode which is often possible to prevent it from forking and
then background the whole kstart/kinit instead.
Sorry if I caused some confusion here.