Merge ~raharper/cloud-init:redhat-selinux-fixes into cloud-init:master
Proposed by
Ryan Harper
on 2017-06-09
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Scott Moser on 2017-06-12 | ||||
| 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 | 2017-06-09 | Approve on 2017-06-09 | |
| Server Team CI bot | continuous-integration | Approve on 2017-06-09 | |
|
Review via email:
|
|||
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.
| Scott Moser (smoser) wrote : | # |
Looks good. Please make the small changes I suggested.
Then I think it's fine. And you can push.
Curious, would using 'ip' help/avoid this?
review:
Approve


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:/