Open tjmullicani opened 1 year ago
When creating a publication using pulp rpm publication create
, I get the following SELinux logs. This does not appear to impact product functionality, it just fills up the logs.
[root@localhost ~]# ausearch -c 'gpg' --raw | audit2allow -M my-gpg
******************** IMPORTANT ***********************
To make this policy package active, execute:
semodule -i my-gpg.pp
[root@localhost ~]# cat my-gpg.te
module my-gpg 1.0;
require {
type gpg_agent_exec_t;
type pulpcore_t;
type var_lib_t;
class file { create execute execute_no_trans getattr link map open read unlink write };
class dir { add_name remove_name setattr write };
class sock_file { create getattr setattr unlink write };
class unix_stream_socket connectto;
}
#============= pulpcore_t ==============
#!!!! This avc can be allowed using the boolean 'domain_can_mmap_files'
allow pulpcore_t gpg_agent_exec_t:file map;
allow pulpcore_t gpg_agent_exec_t:file { execute execute_no_trans open read };
#!!!! This avc can be allowed using the boolean 'daemons_enable_cluster_mode'
allow pulpcore_t self:unix_stream_socket connectto;
allow pulpcore_t var_lib_t:dir { add_name remove_name setattr write };
allow pulpcore_t var_lib_t:file { create getattr link open read unlink write };
allow pulpcore_t var_lib_t:sock_file { create getattr setattr unlink write };