Bug 837474
Summary: | dhcpd.leases initially created with wrong ownership | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jordan Russell <jr-redhatbugs2> |
Component: | dhcp | Assignee: | Jiri Popelka <jpopelka> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | jpopelka, mike.cloaked, thozza |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-08-06 07:57:13 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
Jordan Russell
2012-07-04 04:02:20 UTC
Yes, I know about it and I already tried to change this but with no luck, see bug #765967, comment #1. This is the least painful solution and I'm afraid we need to live with it. Thanks for the report anyway. Could you please add "owner" and "group" to the list of %verify exclusions on the leases files, then? i.e. %verify(not size md5 mtime owner group) If the ownership changes are considered normal -- just as size/md5/mtime changes are -- then it seems appropriate for "rpm -V" to not report them. The reason I care: I have a cron job that runs "rpm -Va" periodically and alerts me if any new discrepancies are found. The ownership flip-flop here keeps triggering unwanted alerts whenever I reboot or otherwise restart dhcpd. Jordan, please test https://koji.fedoraproject.org/koji/buildinfo?buildID=329625 dhcp-4.2.4-6.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/dhcp-4.2.4-6.fc17 dhcp-4.2.3-9.P2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/dhcp-4.2.3-9.P2.fc16 Package dhcp-4.2.3-9.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-9.P2.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-11018/dhcp-4.2.3-9.P2.fc16 then log in and leave karma (feedback). dhcp-4.2.4-7.P1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/dhcp-4.2.4-7.P1.fc17 dhcp-4.2.3-10.P2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/dhcp-4.2.3-10.P2.fc16 /var/lib/dhcpd.leases is still given root:root ownership if dhcpd.service is restarted. If ownership is changed to dhcpd:dhcpd then it is changed back to root:root when dhcpd is restarted. The rpm -V dhcp does not report any discrepancy on the leases file but the file ownership remains incorrect. It is not clear if the "fix" was merely to stop the discrepancy report or actually fix the ownership problem? As I stated in comment #1 I have no idea how to properly fix this ownership problem so this updates only brings what you suggested in comment #2, i.e. it makes 'rpm -V' stop complaining about owner/group of dhcpd.leases file. No problem - I gave it positive karma anyway in bodhi - hopefully the new version will go through soon - it works fine for me. dhcp-4.2.4-9.P1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. dhcp-4.2.3-11.P2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |