Project

General

Profile

Actions

Bug #42681

closed

allow skipping calls to restorecon

Added by Alfredo Deza over 4 years ago. Updated over 4 years 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 (v1):
Crash signature (v2):

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 2 (0 open2 closed)

Copied to ceph-volume - Backport #42754: mimic: allow skipping calls to restoreconResolvedJan FajerskiActions
Copied to ceph-volume - Backport #42755: nautilus: allow skipping calls to restoreconResolvedJan FajerskiActions
Actions #1

Updated by Alfredo Deza over 4 years ago

  • Status changed from New to Resolved
Actions #2

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
Actions #3

Updated by Nathan Cutler over 4 years ago

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

Updated by Nathan Cutler over 4 years ago

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

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

Also available in: Atom PDF