Skip to content

Commit be7708d

Browse files
committed
selinux fixes
1 parent b77239f commit be7708d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

psconfig/perfsonar-psconfig/selinux/psconfig-hostmetrics.te

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@ module psconfig-hostmetrics 1.0;
22

33
require {
44
type init_t;
5+
type sudo_exec_t;
56
type lib_t;
67
class dir add_name;
7-
class file { create write };
8+
class file { create write execute };
89
}
910

1011
#============= init_t ==============
1112
allow init_t lib_t:dir add_name;
1213
allow init_t lib_t:file create;
13-
allow init_t lib_t:file write;
14+
allow init_t lib_t:file write;
15+
allow init_t sudo_exec_t:file execute;

0 commit comments

Comments
 (0)