Bug 2070858
Summary: | at job that does not contain trailing newline gets mangled incorrectly [centos-stream] | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Jan Staněk <jstanek> |
Component: | at | Assignee: | Jan Staněk <jstanek> |
Status: | CLOSED ERRATA | QA Contact: | Jan Houska <jhouska> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | CentOS Stream | CC: | bstinson, jhouska, jwboyer, opohorel, rhel-cs-apps-subsystem-qe, sebastiaan |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | at-3.1.23-11.el9 | Doc Type: | Bug Fix |
Doc Text: |
Cause: at wraps the job definition (script) in heredoc in order to be able to launch that job in a user's $SHELL. The end marker of the heredoc construct was attached without a newline at the start.
Consequence: If the job definition (script) did not end with a newline symbol, the marker would not get recognized as such and the job would be mangled.
Fix: The end marker now always include initial newline (it is always added at a dedicated separate line).
Result: The marker is now always recognized as a marker and the job is no longer mangled if not ending with a new line.
|
Story Points: | --- |
Clone Of: | 2070450 | Environment: | |
Last Closed: | 2022-11-15 11:15:21 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: | |||
Bug Depends On: | |||
Bug Blocks: | 2070450 |
Description
Jan Staněk
2022-04-01 08:33:05 UTC
Merged into centos-stream: https://gitlab.com/redhat/centos-stream/rpms/at/-/commit/55072d7e68317c5e6f63987de9acc9ae33a46d48 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 (at 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-2022:8294 |