Bug 765967
Summary: | failover socket not created if in reserved port range | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jeff Bailey <bailey> |
Component: | dhcp | Assignee: | Jiri Popelka <jpopelka> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | jpopelka |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | dhcp-4.2.3-6.P2.fc16 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-01-28 03:31:54 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 769551 | ||
Bug Blocks: |
Description
Jeff Bailey
2011-12-09 19:28:16 UTC
Thanks for the investigation. You are completely right. In 4.2.3-2 I made a change to write lease file after changing effective user/group ID (so the lease file is owned by dhcpd:dhcpd) because SELinux doesn't allow dhcpd to change ownership of lease file. Unfortunately the lease file initialization is followed by the failover protocol initialization which needs root privileges. So the only solution I can think of is to revert the 4.2.3-2 change and change the SELinux policy, i.e. the same as in bug #737571, comment #12. Jeff, could you try this scratch-build ? Thanks http://koji.fedoraproject.org/koji/taskinfo?taskID=3596158 (You'll need to temporarily disable SELinux) Yes, that seems to fix it. I get a socket on 647 now and my leases file is root:root instead of dhcpd:dhcpd. dhcp-4.2.3-6.P2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/dhcp-4.2.3-6.P2.fc16 Package dhcp-4.2.3-6.P2.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dhcp-4.2.3-6.P2.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0822/dhcp-4.2.3-6.P2.fc16 then log in and leave karma (feedback). dhcp-4.2.3-6.P2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |