Merge ~raharper/cloud-init:redhat-selinux-fixes into cloud-init:master
Proposed by
Ryan Harper
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Scott Moser | ||||
Approved revision: | dbbfd47f6af7a2cc3da93bb2b281467cec316f77 | ||||
Merged at revision: | 95fd5a2b5426f3420e05ac190eb9f286df630484 | ||||
Proposed branch: | ~raharper/cloud-init:redhat-selinux-fixes | ||||
Merge into: | cloud-init:master | ||||
Diff against target: |
50 lines (+10/-4) 2 files modified
cloudinit/netinfo.py (+4/-3) cloudinit/util.py (+6/-1) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+325404@code.launchpad.net |
Description of the change
Fix a few selinux issues found running cloud-init under Redhat
- netinfo package uses netstat which returns 1 when run under selinux
- allow restorecon to be non-fatal, work around python-libselinux issue
To post a comment you must log in.
PASSED: Continuous integration, rev:dbbfd47f6af 7a2cc3da93bb2b2 81467cec316f77 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 504/ /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- amd64/504 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- arm64/504 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- ppc64el/ 504 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- s390x/504 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=vm- i386/504
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 504/rebuild
https:/