[ 
https://issues.apache.org/jira/browse/IGNITE-14016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17269308#comment-17269308
 ] 

Peter Ivanov commented on IGNITE-14016:
---------------------------------------

[~imurchenko] suggested SELinux module that we can install during installation 
if SELinux is in enforced mode.
 # Create a type enforcement file {{ignite.te}} with the following content:

{code:java}
module ignite 1.0;require {
    type usr_t;
    type useradd_t;
    class dir { add_name create setattr write };
    class file { create setattr write };
}#============= useradd_t ==============
allow useradd_t usr_t:dir { add_name create setattr write };
allow useradd_t usr_t:file { create setattr write };{code}

 # Convert it into a policy module {{checkmodule -M -m -o ignite.mod ignite.te}}
 # {{}}Compile it {{semodule_package -o ignite.pp -m ignite.mod}}
 # {{}}Install a policy {{semodule -i ignite.pp}} (edited) 

> Prepare an RPM package for Ignite 3.0
> -------------------------------------
>
>                 Key: IGNITE-14016
>                 URL: https://issues.apache.org/jira/browse/IGNITE-14016
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Peter Ivanov
>            Assignee: Peter Ivanov
>            Priority: Major
>         Attachments: rhel.log
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to