PowerFlex:selinuxがenforcingに設定された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のロードに失敗します。

 

根本的な原因

Selinuxは、SDCモジュールをロードできるように構成されていません。  

 

対策

次の手順でSDCモジュールをロードできるようにSELinuxを設定します。


selinux utilsパッケージpolicycoreutils-pythonをインストールして、前提条件を満たします。

# yum install python3-policycoreutils 
 

1.任意のフォルダーに 2 つのファイルを作成します。scini.fescini.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

 

問題が発生するバージョン

すべての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.