PowerFlex. Для SDC Linux с Selinux настроено принудительное применение

Summary: Не удается загрузить модули SDC для Linux.

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

Сценарий

Модуль SDC не загружается, если SELINUX=enforceing. 

 

Симптомы

Не удается загрузить модуль SDC:

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

Воздействие

Не загружается Linux SDC.

 

Основная причина

Selinux не настроен на разрешение загрузки модуля SDC.  

 

Временное решение

настройте selinux, чтобы разрешить загрузку модуля SDC, выполнив следующие действия:


Выполните необходимые условия, установив пакет утилит selinux policycoreutils-python:

# yum install python3-policycoreutils 
 

1. В любой папке создайте два файла; scini.fe и 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. Выполните сборку модуля selinux:

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

 

3. Установите модуль selinux. 

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

4. Перезагрузите узел, чтобы загрузить модуль scini.

Чтобы отменить это временное решение, удалите модуль selinux:

semodule -r scini

 

Затронутые версии

Все SDC Linux

 

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.