openvpn-update-resolv-conf icon indicating copy to clipboard operation
openvpn-update-resolv-conf copied to clipboard

Restoring DNS does not work with --user nobody --group nobody

Open erhan- opened this issue 8 years ago • 5 comments

Just a small hint: You can't use this in combination with downgrading the group and user. When you quit OpenVPN or disconnect the script gets run as nobody, who does not have any permissions to change /etc/resolv.conf.

erhan- avatar Mar 21 '16 14:03 erhan-

Yes, this is a known issue. Maybe I shall add some information about this on the README file.

alfredopalhares avatar Mar 23 '16 09:03 alfredopalhares

Yeah I was having this problem for some years and have been manually setting my resolv.conf.

erhan- avatar Apr 09 '16 09:04 erhan-

You can't use this in combination with downgrading the group and user.

You can if you also use down-root OpenVPN plugin.

piotr-dobrogost avatar Apr 09 '16 12:04 piotr-dobrogost

:+1: @piotr-dobrogost

alfredopalhares avatar Apr 10 '16 16:04 alfredopalhares

Thank you for the hint @piotr-dobrogost !

erhan- avatar Apr 30 '16 12:04 erhan-