Running dnsmasq on an openvz container
While compiling and running dnsmasq I came across the following error on one of my VPSes:
# dnsmasq dnsmasq: setting capabilities failed: Operation not permitted
Apparently it's an openvz capabilities issue, according to this article , and requires the following:
vzctl set CTID --capability setuid:on --save vzctl set CTID --capability net_admin:on --save vzctl set CTID --capability net_raw:on --save
My host refused to make the necessary changes. Is it a security hole to enable the option? Which lowend providers enable the option?
C, Bash, Perl, PHP, and JS hobbyist. VPS collector. Blog