Bug 1366697
| Summary: | python-oslo-rootwrap: Handle renamed executables with KillFilter | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Aaron Thomas <aathomas> | |
| Component: | python-oslo-rootwrap | Assignee: | Victor Stinner <vstinner> | |
| Status: | CLOSED ERRATA | QA Contact: | Shai Revivo <srevivo> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.0 (RHEL 7) | CC: | apevec, dmaley, fdinitto, lhh, nlevinki, srevivo | |
| Target Milestone: | async | Keywords: | ZStream | |
| Target Release: | 5.0 (RHEL 7) | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | python-oslo-rootwrap-1.0.0-3.el7ost | Doc Type: | Bug Fix | |
| Doc Text: |
Cause, Consequence:
After an upgrade of a service, oslo.rootwrap is unable to stop the service anymore because the executable was replaced (renamed).
Fix:
Handle renamed executables: use /proc/$pid/cmdline if it exists, instead of /proc/$pid/exe.
Result:
oslo.rootwrap is now able to stop properly a service after an upgrade, when the executable was replaced (renamed).
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1368473 1368475 1368476 (view as bug list) | Environment: | ||
| Last Closed: | 2016-08-24 14:49:44 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: | 1368473, 1368475, 1368476 | |||
|
Description
Aaron Thomas
2016-08-12 15:26:03 UTC
python-oslo-rootwrap-1.0.0-3.el7ost backports fix from OpenStack Newton to handle correctly upgraded or deleted executable. 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, 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://rhn.redhat.com/errata/RHBA-2016-1771.html |