[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] route command and user nobody


  • Subject: Re: [Openvpn-users] route command and user nobody
  • From: James Yonan <jim@xxxxxxxxx>
  • Date: Wed, 1 Dec 2004 12:53:18 -0700 (MST)

On Wed, 1 Dec 2004, Claas Hilbrecht wrote:

> I'm running OpenVPN 2.0beta18 with --user nobody on a linux box. While 
> shutting down the OpenVPN process the following error is logged:
> 
> /sbin/route del -net 192.168.194.0 netmask 255.255.255.0
> ERROR: Linux route delete command failed: could not execute shell command
> 
> This makes sense since nobody isn't allowed to modify the routing table and 
> I'm running in an empty chroot(). I think the route commands should be 
> ignored while shuttind down if OpenVPN is running with the --user option.
> 
> PS: Maybe the route option could be parsed by the new openvpn-down-root 
> plugin? Running --down-pre and the plugin should resolve the above issue.

Isn't this just a non-issue in most cases because the TUN/TAP device 
closure automatically deletes any routes which were directed through it?

James


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users