On Tue, Dec 11, 2007 at 04:04:59PM +0100, Frédéric Boiteux wrote:
>       Hello,
> 
>   About resolvconf script added in 2.0.9-8 version, I'm using it, and found a
> small problem : the addition of dns server works well (resolvconf -a ...), but
> when stopping VPN, the removal (resolvconf -d ...) don't work : it's because 
> of
> when adding, script is called as user/group root, but at removal, probably
> after drop of super-user powers, the script is called as nobody/nogroup, and
> the 'resolvconf -d' fails...
>   I didn't find a solution yet, if you have one...

Hi,

I'm afraid that's the behaviour of openvpn, calling the down script with
the user/group it is running with. You could probably do something with
sudo, but none of the persis-* options will solve this.

Regards,

Alberto

-- 
Alberto Gonzalez Iniesta    | Formación, consultoría y soporte técnico
agi@(inittab.org|debian.org)| en GNU/Linux y software libre
Encrypted mail preferred    | http://inittab.com

Key fingerprint = 9782 04E7 2B75 405C F5E9  0C81 C514 AF8E 4BA4 01C3


Reply via email to