PowerFlex: Selinux가 강제 적용으로 설정된 Linux SDC

Summary: Linux SDC 모듈이 로드되지 않습니다.

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

시나리오

SELINUX=enforcing일 때 SDC 모듈이 로드되지 않습니다. 

 

증상

SDC 모듈이 로드되지 않습니다.

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

영향

Linux SDC가 로드되지 않습니다.

 

근본 원인

SDC 모듈을 로드할 수 있도록 Selinux가 구성되지 않았습니다.  

 

해결 방법

다음 단계에 따라 SDC 모듈을 로드할 수 있도록 SELinux를 구성합니다.


selinux utils 패키지 policycoreutils-python을 설치하여 사전 요구 사항을 충족합니다.

# yum install python3-policycoreutils 
 

1. 아무 폴더에서나 두 개의 파일을 만듭니다. scini.fescini.te.

시니.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

 

영향을 받는 버전

모든 Linux SDC

 

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.