Actions
Bug #42681
closedallow skipping calls to restorecon
% Done:
0%
Source:
Tags:
Backport:
nautilus, mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Description
ceph-volume blindly calls restorecon regardless if SELinux is enabled or not. To address this problem, ceph-volume should skip calling restorecon if selinuxenabled doesn't exist or if it returns a non-zero exit status which indicates that SElinux is disabled or that it is not available.
Further, it should still allow more granular control to skip the call to restorecon altogether, via en environment variable.
Updated by Alfredo Deza over 4 years ago
- Status changed from New to Resolved
master PR https://github.com/ceph/ceph/pull/31421
Updated by Jan Fajerski over 4 years ago
- Status changed from Resolved to Pending Backport
- Backport set to nautilus, mimic
- Pull request ID set to 31421
Updated by Nathan Cutler over 4 years ago
- Copied to Backport #42754: mimic: allow skipping calls to restorecon added
Updated by Nathan Cutler over 4 years ago
- Copied to Backport #42755: nautilus: allow skipping calls to restorecon added
Updated by Nathan Cutler over 4 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
Actions