Merge ~mertkirpici/charm-hw-health:lp/1979587 into charm-hw-health:master
Proposed by
Mert Kirpici
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Martin Kalcok | ||||||||
Approved revision: | 16f70181a08caab9e015cac327963a005713bfb1 | ||||||||
Merged at revision: | 27c38cd9129285de453b12b287fdf818d439d0d1 | ||||||||
Proposed branch: | ~mertkirpici/charm-hw-health:lp/1979587 | ||||||||
Merge into: | charm-hw-health:master | ||||||||
Diff against target: |
246 lines (+68/-39) 3 files modified
src/files/ilorest/cron_ilorest.py (+26/-8) src/tests/unit/test_cron_ilorest.py (+39/-29) src/tox.ini (+3/-2) |
||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Kalcok (community) | Approve | ||
🤖 prod-jenkaas-bootstack (community) | continuous-integration | Approve | |
Erhan Sunar (community) | Approve | ||
Eric Chen | Approve | ||
Robert Gildein | Approve | ||
Review via email: mp+431492@code.launchpad.net |
Commit message
Close LP #1979587
Description of the change
The ilorest ELF includes several shared objects that are unpacked to the tempdir during runtime. This causes issues in cases where the tempdir(usually /tmp) is mounted with the mount option 'noexec'. e.g. CIS hardening.
The introduced _run_ilorest private wrapper function is introduced to accomodate this by providing the binary with an alternative tempdir that it can use.
To post a comment you must log in.
This merge proposal is being monitored by mergebot. Change the status to Approved to merge.