PowerFlex: Linux SDC's met Selinux ingesteld op afdwingen

Summary: Linux SDC-modules kunnen niet worden geladen.

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

De SDC-module kan niet worden geladen wanneer SELINUX=enforcing. 

 

Symptomen

De SDC-module kan niet worden geladen:

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

Impact

Linux SDC kan niet worden geladen.

 

Hoofdoorzaak

Selinux is niet geconfigureerd om het laden van de SDC-module toe te staan.  

 

Tijdelijke oplossing

Configureer selinux zodat de SDC-module kan worden geladen met de volgende stappen:


Voldoe aan de vereisten door het selinux utils-pakket policycoreutils-python te installeren:

# yum install python3-policycoreutils 
 

1. Maak in een willekeurige map twee bestanden; scini.fe en 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. Bouw de selinux-module:

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

 

3. Installeer de selinux-module: 

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

4. Start het knooppunt opnieuw op om de scini-module te laden.

Om deze tijdelijke oplossing ongedaan te maken, verwijdert u de selinux-module:

semodule -r scini

 

Versies waarop dit van toepassing is

Alle Linux SDC's

 

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.