dnsmasq in openvz will not start

RobFantini

Famous Member
May 24, 2012
2,013
102
133
Boston,Mass
when dnsmasq starts the following error is the result:

Code:
dnsmasq: setting capabilities failed: Operation not permitted

Is there a way to fix that?
 
Did you try to run these? These may fix the issue.

# vzctl set <ct_id> --capability setuid: on --save
# vzctl set <ct_id> --capability net_admin: on --save
# vzctl set <ct_id> --capability net_raw: on --save
Running dnsmasq as root will also can fix this issue. You can add user=root in /etc/dnsmasq.conf. I am not sure if this is right path to dnsmasq.conf.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!