Bug 1828953
Summary: | systemd segfaults reloading while serializing a service executing a ExecStartPost command [rhel-7.7] | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Juan Gamba <jgamba> | |
Component: | systemd | Assignee: | Jan Synacek <jsynacek> | |
Status: | CLOSED ERRATA | QA Contact: | Frantisek Sumsal <fsumsal> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | 7.7 | CC: | jsynacek, rmetrich, sbroz, systemd-maint-list | |
Target Milestone: | rc | Keywords: | Patch, ZStream | |
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1837972 1837973 (view as bug list) | Environment: | ||
Last Closed: | 2020-09-29 20:32:28 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: | 1837972, 1837973 |
Description
Juan Gamba
2020-04-28 16:20:39 UTC
I checked all the sources, I don't understand how this could happen since s->control_command and s->control_command_id are "bound" together: when s->control_command_id is changed to _SERVICE_EXEC_COMMAND_INVALID, s->control_command is always set to NULL. But from the coredump, this wasn't the case. I'm trying to set up a reproducer but failed so far. I believe a condition would be to have a reload while a ExecStartPost executes. Additionally at least ExecStartPost are required and the 2nd one should execute at the time of the reload. fix merged to github master branch -> https://github.com/systemd-rhel/rhel-7/pull/108 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 (Low: systemd security and bug fix 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/RHSA-2020:4007 |