Bug 1003972
Summary: | Dhcp4 part of Bind10 not binding to interface. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Eric Teeter <res.ti> |
Component: | bind10 | Assignee: | Tomáš Hozza <thozza> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | jpopelka, psimerda, thozza |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | bind10-1.1.0-10.fc20 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-11-10 07:42:01 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Eric Teeter
2013-09-03 15:20:09 UTC
(In reply to Eric Teeter from comment #0) > Dhcpv4Srv object, reason: Failed to set SO_BINDTODEVICE option on socket 4 > Which tells me that you need to bind a interface before it will work and > none of the guides show how to do this. To me this seems more like a bug then a configuration problem. AFAIK DHCPv4 code is far from any usable state. (In reply to Jiri Popelka from comment #1) > (In reply to Eric Teeter from comment #0) > > Dhcpv4Srv object, reason: Failed to set SO_BINDTODEVICE option on socket 4 > > > Which tells me that you need to bind a interface before it will work and > > none of the guides show how to do this. > > To me this seems more like a bug then a configuration problem. > AFAIK DHCPv4 code is far from any usable state. Your saying that I can not configure the interface for Dhcp4 to listen on. The old version makes you set the interface of you have more than one. I thought that if you had only one it choose that one it own. This computer has only one interface. Jiri: While you at it DHCP6 gives the following error: ERROR [b10-dhcp6.dhcp6/8426] DHCP6_SRV_CONSTRUCT_ERROR error creating Dhcpv6Srv object, reason: Failed to bind socket 4 to fe80::20e:7fff:fef3:aee9/port=547 Hi. This looks more like a bug. Reported upstream -> http://bind10.isc.org/ticket/3176 I found out that the problem seems to be caused by using the "-u" option when starting the bind10. In the meanwhile as a workaround you can modify the bind10.service file not to use it (remove the "-u named" part from the ExecStart line. After discussion with upstream [1] it seems that the only solution at the moment is to run BIND10 as root. I made the necessary changes and will push an update. To sum up the problem: At the moment DHCP servers create sockets by themselves, however if BIND10 is not run as a root, these processes don't have permissions to set some socket options (as SO_BINDTODEVICE). They should use b10-socketcreator to create sockets, however we can not expect upstream to fix this any time soon. They have different priorities at the moment. From what I checked it is not really trivial. [1] https://lists.isc.org/pipermail/bind10-dhcp/2013-October/000043.html bind10-1.1.0-5.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/bind10-1.1.0-5.fc19 bind10-1.1.0-9.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/bind10-1.1.0-9.fc20 Package bind10-1.1.0-5.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing bind10-1.1.0-5.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-18637/bind10-1.1.0-5.fc19 then log in and leave karma (feedback). bind10-1.1.0-5.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. Package bind10-1.1.0-10.fc20, log4cplus-1.1.2-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing bind10-1.1.0-10.fc20 log4cplus-1.1.2-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-18737/bind10-1.1.0-10.fc20,log4cplus-1.1.2-1.fc20 then log in and leave karma (feedback). bind10-1.1.0-10.fc20, log4cplus-1.1.2-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |