PowerFlex: Linux SDC'er med Selinux indstillet til håndhævelse

Summary: Linux SDC-moduler kan ikke indlæses.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

Scenarie

SDC-modulet indlæses ikke, når SELINUX=håndhæver. 

 

Symptomer

SDC-modulet kan ikke indlæse:

insmod: ERROR: could not insert module /bin/emc/scaleio/scini.ko: Permission denied
 

Påvirkning

Linux SDC kan ikke indlæses.

 

Problem

Selinux er ikke konfigureret til at tillade SDC-modulet at indlæse.  

 

Løsning

Konfigurer seLinux til at tillade SDC-modulet at indlæse med følgende trin:


Opfyld forudsætninger ved at installere selinux utils-pakken policycoreutils-python:

# yum install python3-policycoreutils 
 

1. Opret to filer i en hvilken som helst mappe; scini.fe og scini.te.

scini.fe

/bin/emc/scaleio/(.*).ko system_u:object_r:modules_object_t:s0


scini.te

module scini 1.0;

require {
type insmod_t;
type modules_object_t;
class system module_load;
}


2. Byg selinux-modulet:

Checkmodule -M -m scini.te -o scini.mod
semodule_package -o scini.pp -m scini.mod -f scini.fe

 

3. Installer selinux-modulet: 

semodule -i scini.pp
restorecon -R -v /bin/emc/scaleio/
 

4. Genstart noden for at indlæse scini-modulet.

For at vende tilbage til denne løsning skal du fjerne selinux-modulet:

semodule -r scini

 

Påvirkede versioner

Alle Linux SDC'er

 

Affected Products

PowerFlex Software
Article Properties
Article Number: 000199106
Article Type: How To
Last Modified: 27 Nov 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.