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) gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany g...@greenie.muc.de fax: +49-89-35655025 g...@net.informatik.tu-muenchen.de
pgp9pJjzORIKs.pgp
Description: PGP signature