RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1989245 - systemd-run can crash systemd
Summary: systemd-run can crash systemd
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: systemd
Version: 7.9
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Frantisek Sumsal
QA Contact: Frantisek Sumsal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-02 17:41 UTC by Kostas Dimitriou
Modified: 2022-01-11 17:41 UTC (History)
4 users (show)

Fixed In Version: systemd-219-78.el7_9.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-11 17:35:51 UTC
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github redhat-plumbers systemd-rhel7 pull 134 0 None None None 2021-08-03 06:23:53 UTC
Github systemd systemd issues 8056 0 None None None 2021-08-03 06:23:53 UTC
Red Hat Issue Tracker RHELPLAN-91963 0 None None None 2021-08-02 17:44:25 UTC
Red Hat Product Errata RHBA-2022:0066 0 None None None 2022-01-11 17:35:55 UTC

Description Kostas Dimitriou 2021-08-02 17:41:08 UTC
Description of problem:
Plesk recently started using systemd-run for a similar method or running plesk event schedulers and since then we have a lot of systemd (pid 1) crashes. As far as we can tell it is because of this bug https://github.com/systemd/systemd/issues/8056.
Running systemd-run /usr/bin/echo привет can reproduce the crash every time.
We have reported the same problem to cloudlinux and they applied this fix which seems to correct the problem:
https://github.com/Werkov/systemd/commit/c6e6d92525bdec1fff7ce08cdb5d1c41b1eefc27

Version-Release number of selected component (if applicable):
systemd-219-78.el7_9.3.x86_64

How reproducible:
Always

Steps to Reproduce:
1. run "systemd-run /usr/bin/echo привет"


Actual results:
pid 1 crashes with:
Message from syslogd@linuxxxxx at Jun 20 10:35:11 ...
systemd:Caught <ABRT>, dumped core as pid nnnn.

Message from syslogd@linuxxxxx at Jun 20 10:35:11 ...
systemd:Freezing execution.


Expected results:
print the string привет


Additional info:
Centos bug report https://bugs.centos.org/view.php?id=18247

Comment 3 Lukáš Nykrýn 2021-08-03 13:59:32 UTC
fix merged to github master branch -> https://github.com/redhat-plumbers/systemd-rhel7/pull/134

Comment 12 errata-xmlrpc 2022-01-11 17:35:51 UTC
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 (systemd 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:0066


Note You need to log in before you can comment on or make changes to this bug.