Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerFlex 4.5.x Install and Upgrade Guide

Configure the SDC (scini) driver for SELinux

SELinux may prevent the scini driver from starting on Red Hat Enterprise Linux-based SDC nodes. This procedure prevents this issue.

About this task

If SELinux is enabled and enforced, it can prevent the SDC driver (scini) from starting on Red Hat Enterprise Linux-based nodes.
NOTE:To remove the SELinux module, run: semodule -r scini

Steps

  1. On the SDC, use a text editor to create two text files in any directory:
    1. Create a file called scini.fe, and add the following text:
      /usr/bin/emc/scaleio/(.*).ko  system_u:object_r:modules_object_t:s0
      /bin/emc/scaleio/(.*).ko  system_u:object_r:modules_object_t:s0
    2. Create a file called scini.te, and add the following text:
      module scini 1.0;
      
      require {
              type insmod_t;
              type modules_object_t;
              class system module_load;
      }
  2. Build and install the SELinux module, by running the following commands:
    checkmodule -M -m scini.te -o scini.mod
    semodule_package -o scini.pp -m scini.mod -f scini.fe
    semodule -i scini.pp
    restorecon -R -v /bin/emc/scaleio/
  3. To check the current configuration, run the command:
    sestatus
    Output similar to the following should be displayed, showing that SELinux status is enabled, and Current mode is enforcing:
    SELinus status: enabled
    SELinuxfs mount: /sys/fs/selinux
    SELinux root directory: /etc/selinux
    Loaded policy name: targeted
    Current mode: enforcing
    Mode from config file: enforcing
    Policy MLS status: enabled
    Policy deny_unknown status: allowed
    Memory protection checking: actual (secure)
    Max kernel policy version: 31
  4. To check that the scini module is configured in SELinux, run the command:
    semodule --list=full | grep scini
    Output similar to the following should be displayed:
    400	scini				pp
  5. Start the scini service:
    service scini start

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\