Re: /run and read-only /etc
On Sat, 2003-04-12 at 23:56, Herbert Xu wrote:
> >> * Change /sbin/pump to:
> >> * Store PID in /run, not in /var/run
> I won't debate whether this is true in general, bug it is certainly
> unnecessary in the case of pump. I have specifically added code to
> deal with the inability to write to /var/run by making pump fall back
> to using TCP sockets.
Unnecessary; but would using /run for the pidfile be a better
(e.g., simpler) solution?
If not then do you think the TCP-socket approach is the way
to deal with every program that writes a pidfile when /var/
may be absent?
Thomas Hood <firstname.lastname@example.org>