Gert Doering wrote:
Hi,

On Fri, May 22, 2015 at 12:01:24AM +0200, Jan Just Keijser wrote:
I'm not sure what the best path forward is, TBH...
--up-restart *is* different from --up in several ways:

- runs as the user+group that is specified in the config file
- the 'tun' device is persistent so it's not "fresh"
- routes are not reset during a "persistent" restart, so are still present

  - IP addresses are not reset (as the tun device is pesistent)

so indeed, lots of differences here.

What about this:

 - take your patch as it is (because it's not very intrusive, provides
   variables people are asking for, and cleans up tun.c a bit :-) )
 - add a patch to openvpn.8 that explains the differences in --up-restart
   (so people will know that the lack of route env vars is not a bug)

agreed, but do we patch openvpn.8 before or after the documentation split ;) ?

JJK

Reply via email to