Bug 1094910
| Summary: | ipmiutil: script and/or trigger should not directly enable systemd units | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andy Lutomirski <luto> |
| Component: | ipmiutil | Assignee: | Andy Cress <arcress> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | arcress, luto |
| 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 21:38:13 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:36 UTC
I'm confused that the query detected this as not already implemented.
In the upstream and rawhide ipmiutil.spec, it shows:
%if 0%{?fedora} >= 18
%systemd_post ipmiutil_evt.service
%systemd_post ipmiutil_asy.service
%systemd_post ipmiutil_wdt.service
%systemd_post ipmi_port.service
%endif
...
%if 0%{?fedora} >= 18
%systemd_preun ipmiutil_evt.service
%systemd_preun ipmiutil_asy.service
%systemd_preun ipmiutil_wdt.service
%systemd_preun ipmi_port.service
%else
...
%if 0%{?fedora} >= 18
%systemd_postun_with_restart ipmi_port.service
%else
See http://pkgs.fedoraproject.org/cgit/ipmiutil.git/tree/ipmiutil.spec?id=39f162e361586ed45ab497c5ac38f67047121f69
What exactly is not in compliance?
Sorry, script bug on my part. I caught this: # systemctl enable ipmi_port.service >/dev/null 2>&1 || : because my comment-detecting regex was wrong. |