dhcp.filters needs ovs_vsctl permission
The dhcp agent calls ovs_vsctl so it will fail if using rootwrap and these aren't specified. The reason why this was working using rootwrap before is because there are other filters in etc/quantum/rootwrap.d that specifiy ovs_vsctl which allows the agent to make those calls. Fixes bug 1090072 Change-Id: I509c191c97e7187361a09788e841ebb5a9f934c7
This commit is contained in:
parent
84d6be4253
commit
a8d9594907
@ -20,6 +20,10 @@ kill_dnsmasq_usr: KillFilter, root, /usr/sbin/dnsmasq, -9, -HUP
|
|||||||
|
|
||||||
# dhcp-agent uses cat
|
# dhcp-agent uses cat
|
||||||
cat: RegExpFilter, /bin/cat, root, cat, /proc/\d+/cmdline
|
cat: RegExpFilter, /bin/cat, root, cat, /proc/\d+/cmdline
|
||||||
|
ovs-vsctl: CommandFilter, /bin/ovs-vsctl, root
|
||||||
|
ovs-vsctl_usr: CommandFilter, /usr/bin/ovs-vsctl, root
|
||||||
|
ovs-vsctl_sbin: CommandFilter, /sbin/ovs-vsctl, root
|
||||||
|
ovs-vsctl_sbin_usr: CommandFilter, /usr/sbin/ovs-vsctl, root
|
||||||
|
|
||||||
# ip_lib
|
# ip_lib
|
||||||
ip: IpFilter, /sbin/ip, root
|
ip: IpFilter, /sbin/ip, root
|
||||||
|
Loading…
Reference in New Issue
Block a user