Project

General

Profile

Bug #42681

allow skipping calls to restorecon

Added by Alfredo Deza about 1 year ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus, mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

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.


Related issues

Copied to ceph-volume - Backport #42754: mimic: allow skipping calls to restorecon Resolved
Copied to ceph-volume - Backport #42755: nautilus: allow skipping calls to restorecon Resolved

History

#1 Updated by Alfredo Deza about 1 year ago

  • Status changed from New to Resolved

#2 Updated by Jan Fajerski about 1 year ago

  • Status changed from Resolved to Pending Backport
  • Backport set to nautilus, mimic
  • Pull request ID set to 31421

#3 Updated by Nathan Cutler about 1 year ago

  • Copied to Backport #42754: mimic: allow skipping calls to restorecon added

#4 Updated by Nathan Cutler about 1 year ago

  • Copied to Backport #42755: nautilus: allow skipping calls to restorecon added

#5 Updated by Nathan Cutler 11 months 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".

Also available in: Atom PDF