Bug 1696449
Summary: | /usr/bin/run-parts has a fatal programming error which can cause cron to hang perpetually | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Kevin Buchs <kevin.buchs> |
Component: | crontabs | Assignee: | Ondřej Pohořelský <opohorel> |
Status: | CLOSED ERRATA | QA Contact: | Jan Houska <jhouska> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.1 | CC: | hhorak, jhouska, jkejda, opohorel, paul.holman, pviktori |
Target Milestone: | rc | Keywords: | Rebase, Triaged |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-05-18 15:08:26 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
Kevin Buchs
2019-04-04 21:01:26 UTC
Hello, This is the right place to report the bug. Thank you! And thank you again for the detailed report! Marcel is on vacation now, and the issue doesn't look time-critical, so it will take some time before we get to it. But it's in the queue. Please let us know if you think it should be prioritized. Petr, Thanks for the response. In terms of priority, since this has been a long standing issue, even an immediate fix won't result in a change seen for a while, especially in RHEL derivatives. The issue results in cron hanging, which I believe most folks would not expect to happen. The criticality certainly depends on the user, but I can imagine some serious impacts. Now, I usually factor in the level of effort required in my thinking on prioritization. Something easy to fix, as this is (cause I gave you the fix), may be done before other tasks because it is fast to do. Those are my thoughts. Waiting for Marcel to return is likely to be a good choice. I have reported this upstream with a fix, after this has been merged, or if upstream has come with a better solution, I will resolve this in RHEL too. https://github.com/cronie-crond/crontabs/pull/1 There is a slightly different behavior with the fix after all. However, upstream has fixed this with a safer sed command to eliminate the race condition. See: https://github.com/cronie-crond/crontabs/commit/9e74f2ddcb28ff3e2b0fbef08c7acdb9b6172e95 Given that this is a long-lasting issue with no good way to reproduce, this bug has been evaluated not to be fixed in RHEL-7 as later releases generally accept less changes. However, I am not closing this bug. It will still be considered for RHEL-8. VERIFIED as SanityOnly version crontabs-1.11-17.20190603git.el8 contains changes proposed in fix (https://github.com/cronie-crond/crontabs/commit/9e74f2ddcb28ff3e2b0fbef08c7acdb9b6172e95). Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (crontabs bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:1699 |