1system_munin_plugin_selSiEnLuixn(u8x)Policy system_munins_ypsltuegmi_nmunin_plugin_selinux(8)
2
3
4
6 system_munin_plugin_selinux - Security Enhanced Linux Policy for the
7 system_munin_plugin processes
8
10 Security-Enhanced Linux secures the system_munin_plugin processes via
11 flexible mandatory access control.
12
13 The system_munin_plugin processes execute with the system_munin_plug‐
14 in_t SELinux type. You can check if you have these processes running by
15 executing the ps command with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep system_munin_plugin_t
20
21
22
24 The system_munin_plugin_t SELinux type can be entered via the sys‐
25 tem_munin_plugin_exec_t file type.
26
27 The default entrypoint paths for the system_munin_plugin_t domain are
28 the following:
29
30 /usr/share/munin/plugins/cpu.*, /usr/share/munin/plugins/if_.*,
31 /usr/share/munin/plugins/nfs.*, /usr/share/munin/plugins/iostat.*,
32 /usr/share/munin/plugins/munin_.*, /usr/share/munin/plugins/acpi,
33 /usr/share/munin/plugins/load, /usr/share/munin/plugins/swap,
34 /usr/share/munin/plugins/forks, /usr/share/munin/plugins/users,
35 /usr/share/munin/plugins/memory, /usr/share/munin/plugins/uptime,
36 /usr/share/munin/plugins/netstat, /usr/share/munin/plugins/threads,
37 /usr/share/munin/plugins/unbound, /usr/share/munin/plugins/irqstats,
38 /usr/share/munin/plugins/proc_pri, /usr/share/munin/plugins/processes,
39 /usr/share/munin/plugins/interrupts, /usr/share/munin/plug‐
40 ins/open_files
41
43 SELinux defines process types (domains) for each process running on the
44 system
45
46 You can see the context of a process using the -Z option to ps
47
48 Policy governs the access confined processes have to files. SELinux
49 system_munin_plugin policy is very flexible allowing users to setup
50 their system_munin_plugin processes in as secure a method as possible.
51
52 The following process types are defined for system_munin_plugin:
53
54 system_munin_plugin_t
55
56 Note: semanage permissive -a system_munin_plugin_t can be used to make
57 the process type system_munin_plugin_t permissive. SELinux does not
58 deny access to permissive process types, but the AVC (SELinux denials)
59 messages are still generated.
60
61
63 SELinux policy is customizable based on least access required. sys‐
64 tem_munin_plugin policy is extremely flexible and has several booleans
65 that allow you to manipulate the policy and run system_munin_plugin
66 with the tightest access possible.
67
68
69
70 If you want to allow all domains to execute in fips_mode, you must turn
71 on the fips_mode boolean. Enabled by default.
72
73 setsebool -P fips_mode 1
74
75
76
77 If you want to allow confined applications to use nscd shared memory,
78 you must turn on the nscd_use_shm boolean. Disabled by default.
79
80 setsebool -P nscd_use_shm 1
81
82
83
85 The SELinux process type system_munin_plugin_t can manage files labeled
86 with the following file types. The paths listed are the default paths
87 for these file types. Note the processes UID still need to have DAC
88 permissions.
89
90 munin_plugin_state_t
91
92 /var/lib/munin/plugin-state(/.*)?
93
94 munin_var_lib_t
95
96 /var/lib/munin(/.*)?
97
98 system_munin_plugin_tmp_t
99
100
101
103 SELinux requires files to have an extended attribute to define the file
104 type.
105
106 You can see the context of a file using the -Z option to ls
107
108 Policy governs the access confined processes have to these files.
109 SELinux system_munin_plugin policy is very flexible allowing users to
110 setup their system_munin_plugin processes in as secure a method as pos‐
111 sible.
112
113 STANDARD FILE CONTEXT
114
115 SELinux defines the file context types for the system_munin_plugin, if
116 you wanted to store files with these types in a diffent paths, you need
117 to execute the semanage command to sepecify alternate labeling and then
118 use restorecon to put the labels on disk.
119
120 semanage fcontext -a -t system_munin_plugin_tmp_t '/srv/mysys‐
121 tem_munin_plugin_content(/.*)?'
122 restorecon -R -v /srv/mysystem_munin_plugin_content
123
124 Note: SELinux often uses regular expressions to specify labels that
125 match multiple files.
126
127 The following file types are defined for system_munin_plugin:
128
129
130
131 system_munin_plugin_exec_t
132
133 - Set files with the system_munin_plugin_exec_t type, if you want to
134 transition an executable to the system_munin_plugin_t domain.
135
136
137 Paths:
138 /usr/share/munin/plugins/cpu.*, /usr/share/munin/plugins/if_.*,
139 /usr/share/munin/plugins/nfs.*, /usr/share/munin/plugins/iostat.*,
140 /usr/share/munin/plugins/munin_.*, /usr/share/munin/plugins/acpi,
141 /usr/share/munin/plugins/load, /usr/share/munin/plugins/swap,
142 /usr/share/munin/plugins/forks, /usr/share/munin/plugins/users,
143 /usr/share/munin/plugins/memory, /usr/share/munin/plugins/uptime,
144 /usr/share/munin/plugins/netstat, /usr/share/munin/plug‐
145 ins/threads, /usr/share/munin/plugins/unbound,
146 /usr/share/munin/plugins/irqstats, /usr/share/munin/plug‐
147 ins/proc_pri, /usr/share/munin/plugins/processes,
148 /usr/share/munin/plugins/interrupts, /usr/share/munin/plug‐
149 ins/open_files
150
151
152 system_munin_plugin_tmp_t
153
154 - Set files with the system_munin_plugin_tmp_t type, if you want to
155 store system munin plugin temporary files in the /tmp directories.
156
157
158
159 Note: File context can be temporarily modified with the chcon command.
160 If you want to permanently change the file context you need to use the
161 semanage fcontext command. This will modify the SELinux labeling data‐
162 base. You will need to use restorecon to apply the labels.
163
164
166 semanage fcontext can also be used to manipulate default file context
167 mappings.
168
169 semanage permissive can also be used to manipulate whether or not a
170 process type is permissive.
171
172 semanage module can also be used to enable/disable/install/remove pol‐
173 icy modules.
174
175 semanage boolean can also be used to manipulate the booleans
176
177
178 system-config-selinux is a GUI tool available to customize SELinux pol‐
179 icy settings.
180
181
183 This manual page was auto-generated using sepolicy manpage .
184
185
187 selinux(8), system_munin_plugin(8), semanage(8), restorecon(8),
188 chcon(1), sepolicy(8), setsebool(8)
189
190
191
192system_munin_plugin 19-12-02 system_munin_plugin_selinux(8)