I re-installed the neutron node from scratch, with neutron
2:16.0.0~b3~git2020032420.a0e1b5804e-0ubuntu2

Now neutron-common postinst does chmod 0750 /var/lib/neutron which makes
the dhcp files unreadable:

Mar 27 20:36:15 network dnsmasq[6218]: failed to load names from 
/var/lib/neutron/dhcp/53519892-89b9-42cc-be0d-413938ed5230/addn_hosts: 
Permission denied
Mar 27 20:36:15 network dnsmasq[6218]: cannot read 
/var/lib/neutron/dhcp/53519892-89b9-42cc-be0d-413938ed5230/host: Permission 
denied
Mar 27 20:36:15 network dnsmasq[6218]: cannot read 
/var/lib/neutron/dhcp/53519892-89b9-42cc-be0d-413938ed5230/opts: Permission 
denied

ubuntu@network:~$ sudo ls -la /var/lib/neutron/dhcp
total 16
drwxr-xr-x 4 neutron neutron 4096 Mar 27 20:35 .
drwxr-x--- 8 neutron neutron 4096 Mar 27 20:35 ..
drwxr-xr-x 2 neutron neutron 4096 Mar 27 20:36 
2dd85a27-8ea0-4656-b872-6d2008e298c3
drwxr-xr-x 2 neutron neutron 4096 Mar 27 20:36 
53519892-89b9-42cc-be0d-413938ed5230

ubuntu@network:~$ cat 
/var/lib/neutron/dhcp/53519892-89b9-42cc-be0d-413938ed5230/host 
cat: /var/lib/neutron/dhcp/53519892-89b9-42cc-be0d-413938ed5230/host: 
Permission denied

After changing /var/lib/neutron/ to mode 755 (or 751) dnsmasq works fine
again

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1866187

Title:
  dnsmasq needs access to /var/lib/neutron/dhcp

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/neutron/+bug/1866187/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to