Bug 842455
Summary: | dnssec-triggerd doesn't restore /etc/resolv.conf immutable attribute | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Pavel Šimerda (pavlix) <psimerda> |
Component: | dnssec-trigger | Assignee: | Pavel Šimerda (pavlix) <psimerda> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 20 | CC: | i.grok, mishu, ovasik, pwouters |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | dnssec-trigger-0.12-13.fc20 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-09-19 10:06:48 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
Pavel Šimerda (pavlix)
2012-07-23 22:04:06 UTC
I looked into this, but it is a design issue done on purpose by upstream. The idea is to try and avoid being vulneable to DNS spoofing during shutdown and boot. Since we are working on better NM integration of this feature that would no longer require resolv.conf to be immutable, I've patched the daemon to remove the immutable bit on shutdown for now. http://koji.fedoraproject.org/koji/taskinfo?taskID=4325933 (A first attempt using systemd's ExecStopPost= in dnssec-triggerd.service failed) I'll run it through some hotspot testing today before pushing it into F17 Thanks. I guess upstream is working against their own case here, preventing administrators from properly reconfiguring their systems to any state they wish. well, not entirely. they do have a point about ensuring dns cannot be spoofed during boot/shutdown. If we weren't going to change things I would leave it like that. But the whole immutable hack is on its way out anyway for a better integrated solution I'd be happy to discuss this with you and atkac (and anyone else involved) as I'm afraid NM side will have *very* different opinions regarding the integration from the dnssec-trigger side. Pavel: sure, we should meet up sometime and do a conference call btw. this was an issue of chattr not being called with full path. will be fixed in next release, although a work around patch was already included This message is a reminder that Fedora 17 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 17. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '17'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 17's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 17 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 17's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. A fix has apparently been applied to dnssec-trigger dist-git master (at the least). I'm reopening to check whether the patch is actually needed or we can solve this using a change in the systemd service file. I would also like to try to upstream whatever solution is used. Removing the (not upstreamed) patch, Fedora will rely on the systemd service file to restore the immutable bit. People should either use the systemd service or know what they are doing. Anyone is free to submit the patch or a similar one to upstream. dnssec-triggerd.service now in upstream has been restoring the immutable bit for some time, the newest versions just drops the dnssec-trigger patch that is now redundant. dnssec-trigger-0.12-12.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dnssec-trigger-0.12-12.fc20 Package dnssec-trigger-0.12-12.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 dnssec-trigger-0.12-12.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-7942/dnssec-trigger-0.12-12.fc20 then log in and leave karma (feedback). dnssec-trigger-0.12-13.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/dnssec-trigger-0.12-13.fc20 dnssec-trigger-0.12-13.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |