PowerFlex: Linux SDC-er med Selinux satt til å håndheve

Summary: Linux SDC-moduler kan ikke lastes inn.

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 lastes ikke inn når SELINUX=håndheving. 

 

Symptomer

SDC-modulen kan ikke lastes inn:

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

Innvirkning

Linux SDC lastes ikke inn.

 

Hovedårsak

Selinux er ikke konfigurert til å tillate at SDC-modulen lastes inn.  

 

Omgåelse av problemet

konfigurer selinux for å tillate at SDC-modulen lastes med følgende trinn:


Tilfredsstille forutsetninger ved å installere selinux utils pakken policycoreutils-python:

# yum install python3-policycoreutils 
 

1. Opprett to filer i 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. Bygg selinux-modulen:

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

 

3. Sett inn selinux-modulen: 

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

4. Start noden på nytt for å laste inn Scini-modulen.

Hvis du vil tilbakestille denne midlertidige løsningen, fjerner du selinux-modulen:

semodule -r scini

 

Berørte versjoner

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.