Comment 0 for bug 1873438

Revision history for this message
Albert Damen (albrt) wrote : dnsmasq needs access to /var/lib/neutron/dhcp/*

After bug 1866187 "dnsmasq needs access to /var/lib/neutron/dhcp" was fixed we now got a new error:

/var/lib/neutron/dhcp/<guid> is not accessible.

due to: find /var/lib/neutron -type f -exec chmod 0640 "{}" + -o -type d -exec chmod 0750 "{}" +

Apr 17 10:57:16 network dnsmasq[11259]: failed to load names from /var/lib/neutron/dhcp/493a63a2-8110-4d88-a3cd-49f6643b670c/addn_h>
Apr 17 10:57:16 network dnsmasq[11259]: cannot read /var/lib/neutron/dhcp/493a63a2-8110-4d88-a3cd-49f6643b670c/host: Permission den>
Apr 17 10:57:16 network dnsmasq[11259]: cannot read /var/lib/neutron/dhcp/493a63a2-8110-4d88-a3cd-49f6643b670c/opts: Permission den>

where dnsmasq is running as user nobody.

and now
~$ ls -la /var/lib/neutron/dhcp/
total 16
drwxr-xr-x 4 neutron neutron 4096 Apr 17 09:09 .
drwxr-xr-x 8 neutron neutron 4096 Apr 17 09:27 ..
drwxr-x--- 2 neutron neutron 4096 Apr 17 10:57 493a63a2-8110-4d88-a3cd-49f6643b670c
drwxr-x--- 2 neutron neutron 4096 Apr 17 10:57 78adc3ed-9e9c-47f7-83a2-315277a5be53

chmod 751 on both directories solves the issue.