| Summary: | yum-cron should use systemd | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | jcpunk |
| Component: | yum | Assignee: | James Antill <james.antill> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Karel Srot <ksrot> |
| Severity: | low | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.0 | CC: | admiller, ahabig, ffesti, glandvador, james.antill, johannbg, jzeleny, ksrot, misterbonnie, packaging-team-maint, riehecky, tla |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | yum-3.4.3-112.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 893593 | Environment: | |
| Last Closed: | 2014-06-13 13:16:34 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: | |
|
Description
jcpunk
2013-12-11 17:31:58 UTC
There's a leftover fedora-specific block in yum.spec that disables yum_cron_systemd when building for rhel. I'm sure this should be simply removed. However, this fix has potentially a large impact and we're quite late. given a low severity, postponing to 7.1.
--- a/yum.spec
+++ b/yum.spec
@@ -14,11 +14,6 @@
BuildRequires: bash-completion
%endif
-%if 0%{?fedora} <= 18
-# yum in Fedora <= 18 doesn't use systemd unit files...
-%define yum_cron_systemd 0
-%endif
-
%if %{auto_sitelib}
%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_
I understand your concern about the potential impact. However, I'm a bit concerned that a transition between 7.0 and 7.1 on this might create a great deal of confusion for the end users. Switching from chkconfig to systemctl may confuse the workflow/puppet config/cfengine/etc. Given the simplicity of the fix, I wonder if consistency for the whole lifecycle of yum-cron in RHEL7 might be worth revisiting this. The simple fix above seems to work (at least I can build and install it). Ack'd. The more important question: How about actually running it, does that work as well? It works when I run it. The behavior is exactly what I'd expect. (In reply to Pat Riehecky from comment #6) > It works when I run it. The behavior is exactly what I'd expect. And have you tried the package that Zdenek built and tried to install yesterday or was it some other package? It would help us to have a point of reference here. Thanks He probably built it locally with the patch from c#2, as did I. Sorry for the late reply. Zdenek is correct, I used the patch from C#2 This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |