Hello,
I would like to understand and correct this error:
openvpn | Tue Jan 22 21:22:16 2019 /sbin/ip route del 192.168.254.0/24
openvpn | RTNETLINK answers: Operation not permitted
openvpn | Tue Jan 22 21:22:16 2019 ERROR: Linux route delete command failed: external program exited with error status: 2
Can you help me ?
Thank you !
According to 'ip' exit codes from the manpages , "If an error was reported by the kernel exit status is 2" - if that can help troubleshoot
are you running this with high privileges?
Same issue. Running with spec.template.spec.containers.securityContext.capabilities.add.NET_ADMIN set under Kubernetes.
if it fails, try with sudo for a command instead
Yeah, privileged mode is needed in docker for it to work.
On Mon, Feb 11, 2019, 06:37 Mathieu Aubin notifications@github.com wrote:
if it fails, try with sudo for a command instead
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/kylemanna/docker-openvpn/issues/451#issuecomment-462223782,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADV__Adq6RlO9cCLPx32jx3j8YoiAY5_ks5vMQGCgaJpZM4aNkZe
.
Hahaahah just close the issue. @mario26 your solution is to run the container as privileged.
@mkozjak it's correct ! Thank you :+1:
Most helpful comment
Hahaahah just close the issue. @mario26 your solution is to run the container as privileged.