Bug 1094906
Summary: | dnssec-trigger: script and/or trigger should not directly enable systemd units | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Andy Lutomirski <luto> |
Component: | dnssec-trigger | Assignee: | Pavel Šimerda (pavlix) <psimerda> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | luto, psimerda, pspacek, pwouters, thozza, vonsch |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-05-06 18:13:44 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: | |||
Bug Blocks: | 1090684 |
Description
Andy Lutomirski
2014-05-06 17:19:17 UTC
Yep, I know about this "feature" and I don't like it either but we did that as a temporary measure before NetworkManager is capable of rewriting /etc/resolv.conf on request. While the easiest solution is just to remove the call to systemctl, it will leave the network in a half-configured state after 'systemctl stop dnssec-triggerd'. Just in case... is 'systemctl try-restart' (which is being used here) not acceptable at least as a temporary solution? I think my query script queried too old a version of dnssec-trigger. I don't see a problem right now. The spec file could probably still be simplified by using %systemd_postun_with_restart, but I don't think there's an actual bug. Sorry. Feel free to close this if you don't want to make any changes. Also, if you are actually doing something complicated here, asking FESCo's opinion might be a good idea. I'm not any kind of authority here; I just got annoyed at finding a bunch of packages that were clearly and erroneously enabling themselves. (In reply to Andy Lutomirski from comment #3) > I think my query script queried too old a version of dnssec-trigger. I > don't see a problem right now. Thanks! > The spec file could probably still be simplified by using > %systemd_postun_with_restart, Current master and f20 branch: %postun· %systemd_postun_with_restart %{name}d.service > but I don't think there's an actual bug. > Sorry. Feel free to close this if you don't want to make any changes. Sure. Thank you for your effort. |