You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The question is, should we just create that file if it's missing, document the error, or is this issue enough for people to find out what is going on?
I'm not really sure what ip netns exec is doing here.
ip netns exec ${NS_NAME} cmd spawns a temporary mount namespace of /etc/netns/${NS_NAME}/* that exists until cmd exits, after that the mount namespace gets cleaned up.
From man ip-netns:
ip netns exec automates handling of this configuration, file convention for network namespace unaware applications, by creating a mount namespace and bind mounting all of the per network namespace configure files into their traditional location in /etc.
--
Could eliminating this error lead to issues when Vopono is executed in parallel?
No because each namespace makes its own temporary mount to /etc.
I'm interested in eliminating it, because it adds a lot of output, and because many users probably will think that there is a problem.
I think the problem is that the log file should not be stored in /etc/netns/${NS_NAME}/ because of the temporary mount to /etc and /etc is not the correct folder for a log file. So i would recommend to change the log path in vopono/src/openvpn.rs.
I did some digging regarding the above error.
sudo touch /etc/openvpn.log
fixes the issue.The question is, should we just create that file if it's missing, document the error, or is this issue enough for people to find out what is going on?
I'm not really sure what
ip netns exec
is doing here.Could eliminating this error lead to issues when Vopono is executed in parallel?
I'm interested in eliminating it, because it adds a lot of output, and because many users probably will think that there is a problem.
The text was updated successfully, but these errors were encountered: