[PKG-Openstack-devel] Bug#751524: neutron-dhcp-agent: dnsmasq process do not have permission to access his option file

Romain Chantereau romain at chantereau.fr
Fri Jun 13 17:18:25 UTC 2014


Package: neutron-dhcp-agent
Version: 2014.1.1-2~bpo70+1
Severity: normal

Dear Maintainer,

After installing and following the OpenStack installation guide I faced an issue with instance not getting his IP from the DHCP server.

After some investigation, syslog reported:
/var/lib/neutron/dhcp/{id}/host : Permission denied

And as the dnsmasq process is launch as "nobody", and as the /var/lib/neutron is only rx for owner and group (neutron) only (no right for others), the dns masq process was unable to read his allocable IP pool.

I just done a chmod o+x /var/lib/neutron and it worked.

Could you fix it in the package (finding a way to run dnsmasq as neutron user or setting the suffisant permission on the directory)?

Thanks for your work.
Regards,
Romain

-- System Information:
Debian Release: 7.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages neutron-dhcp-agent depends on:
ii  adduser         3.113+nmu3
ii  dnsmasq-base    2.62-3+deb7u1
ii  dnsmasq-utils   2.62-3+deb7u1
ii  dpkg            1.16.15
ii  neutron-common  2014.1.1-2~bpo70+1
ii  sudo            1.8.5p2-1+nmu1

neutron-dhcp-agent recommends no packages.

neutron-dhcp-agent suggests no packages.

-- Configuration Files:
/etc/neutron/dhcp_agent.ini [Errno 13] Permission denied: u'/etc/neutron/dhcp_agent.ini'

-- no debconf information

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20140613/eade6706/attachment-0001.html>


More information about the Openstack-devel mailing list