PowerFlex: Linux SDC:er med Selinux inställt på Enforcing

Summary: Linux SDC-moduler kan inte läsas in.

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

Scenario

SDC-modulen kan inte läsas in när SELINUX=enforceing. 

 

Symptom

SDC-modulen kan inte laddas:

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

Påverkan

Linux SDC kan inte laddas.

 

Grundorsak

Selinux har inte konfigurerats för att SDC-modulen ska kunna laddas.  

 

Alternativ lösning

konfigurera selinux så att SDC-modulen kan läsas in med följande steg:


Uppfyll förutsättningarna genom att installera selinux utils-paketet policycoreutils-python:

# yum install python3-policycoreutils 
 

1. Skapa två filer i valfri mapp. scini.fe och 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. Bygg selinux-modulen:

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

 

3. Installera selinux-modulen: 

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

4. Starta om noden för att läsa in scini-modulen.

Om du vill återställa den här lösningen tar du bort selinux-modulen:

semodule -r scini

 

Versioner som påverkas

Alla 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.