| Summary: | python-oslo-rootwrap: Handle renamed executables with KillFilter | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Victor Stinner <vstinner> |
| Component: | python-oslo-rootwrap | Assignee: | Victor Stinner <vstinner> |
| Status: | CLOSED DUPLICATE | QA Contact: | Shai Revivo <srevivo> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.0 (Kilo) | CC: | aathomas, apevec, fdinitto, lhh, srevivo |
| Target Milestone: | --- | Keywords: | ZStream |
| Target Release: | 7.0 (Kilo) | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 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: | 1366697 | Environment: | |
| Last Closed: | 2016-09-05 19:06:19 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: | |
| Bug Depends On: | 1366697 | ||
| Bug Blocks: | 1368473, 1368475 | ||
|
Comment 1
Victor Stinner
2016-09-05 18:58:45 UTC
*** This bug has been marked as a duplicate of bug 1251211 *** |