Summary: | openvpn initsript doesn't wait until the vpn is completly up | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nikolas Garofil <garo> |
Component: | Current packages | Assignee: | Jan Brinkmann (RETIRED) <luckyduck> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | schaedpq, uberlord |
Priority: | High | Keywords: | Inclusion |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Patch for initscript of openvpn 2.0-r1 to check connection after the vpn in launched
new and tested version of the patch without bugs even newer version yet a another new version |
Description
Nikolas Garofil
2005-07-08 18:37:16 UTC
I forgot to mention that i only wrote the patch, I still have to test it. Also, I discovered that you can create attachment after the bug is created so i will put the patch in attachement because it's unreadable like this. Created attachment 62978 [details, diff]
Patch for initscript of openvpn 2.0-r1 to check connection after the vpn in launched
Created attachment 63079 [details, diff]
new and tested version of the patch without bugs
I had the time to actually test the patch, so I did it, fixed a bug, wrote some
comments and made a better patch with context
Created attachment 63607 [details, diff]
even newer version
I asked someone else to test it, he found another a bug, so I created a new
patch with the bugfix plus some extra info for the administrator of the system
Created attachment 63640 [details, diff]
yet a another new version
yet another bugfix
I have a similar problem as the bug reporter poster and would like to support his suggestion to change that ebuild in a way that it waits until the VPN devices and routes are up. You can use baselayout-1.12.0_pre9-r1 to create tun/tap interfaces if you emerge sys-apps/usermode-utilities. As openvpn depends on the "net" service, the tun/tap interfaces are guaranteed to be up and configured before openvpn even starts. The only downside of this is that you cannot use the "server" configuration directive - instead you have to configure the ip pool and other things manually. See the openvpn man page for how to do this. Closing as WONTFIX |