Re: plutostderrlog=

"D. Hugh Redelmeier" <[email protected]> Sun, 9 Mar 2003 20:22:43 -0500 (EST)
Newsgroups gmane.network.freeswan.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----


| From: Michael Richardson <[email protected]>

| our config setup
|     	plutostderrlog=/tmp/pluto.log
| 
| has the effect of overwriting the log if pluto restarts.
| 
| I propose to make this 2>> rather than 2>
| (i.e. append)

[This is implemented in _plutorun.]

Sure.

I would then recommend that the file be emptied before the "restart
pluto if it dies" loop.  There is evan a convenient place: where the flag
is added to popts.  Could even diagnose a failure to write at this point.

| Secondly, I was thinking of a config setup option called:
| 	  plutoonce=once
| 
| which will cause the "restart pluto if it dies" loop to run
| only once. This makes it much easier to track problems.

Sure.  restartplutooncrash=[true/false] would be a better notation.
Awkward but clear -- reasonable for a rarely used option.

Hugh Redelmeier
[email protected]  voice: +1 416 482-8253

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBPmvo58FAuQPManGZAQEQjQP/RBpeN9XoB9UlRA4HPIDTLYnRbzVUkaBh
VmQeubRk/kvj2YZNIi6TogQQeU4MqxzqH5ARW5Clf9Ex3ouVt0elNyRjKViHmzJz
aSY0g4jJflO7bBkcRVH/RUJxBbxRWTHKypJXCL7HvzZ18EtsWUtlITuVXc5Uz/gy
iQULKrmndMI=
=VSP9
-----END PGP SIGNATURE-----