1kpropd_selinux(8) SELinux Policy kpropd kpropd_selinux(8)
2
3
4
6 kpropd_selinux - Security Enhanced Linux Policy for the kpropd pro‐
7 cesses
8
10 Security-Enhanced Linux secures the kpropd processes via flexible
11 mandatory access control.
12
13 The kpropd processes execute with the kpropd_t SELinux type. You can
14 check if you have these processes running by executing the ps command
15 with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep kpropd_t
20
21
22
24 The kpropd_t SELinux type can be entered via the kpropd_exec_t file
25 type.
26
27 The default entrypoint paths for the kpropd_t domain are the following:
28
29 /usr/sbin/kpropd, /usr/sbin/_kpropd, /usr/kerberos/sbin/kpropd
30
32 SELinux defines process types (domains) for each process running on the
33 system
34
35 You can see the context of a process using the -Z option to ps
36
37 Policy governs the access confined processes have to files. SELinux
38 kpropd policy is very flexible allowing users to setup their kpropd
39 processes in as secure a method as possible.
40
41 The following process types are defined for kpropd:
42
43 kpropd_t
44
45 Note: semanage permissive -a kpropd_t can be used to make the process
46 type kpropd_t permissive. SELinux does not deny access to permissive
47 process types, but the AVC (SELinux denials) messages are still gener‐
48 ated.
49
50
52 SELinux policy is customizable based on least access required. kpropd
53 policy is extremely flexible and has several booleans that allow you to
54 manipulate the policy and run kpropd with the tightest access possible.
55
56
57
58 If you want to dontaudit all daemons scheduling requests (setsched,
59 sys_nice), you must turn on the daemons_dontaudit_scheduling boolean.
60 Enabled by default.
61
62 setsebool -P daemons_dontaudit_scheduling 1
63
64
65
66 If you want to allow all domains to execute in fips_mode, you must turn
67 on the fips_mode boolean. Enabled by default.
68
69 setsebool -P fips_mode 1
70
71
72
73 If you want to allow system to run with NIS, you must turn on the
74 nis_enabled boolean. Disabled by default.
75
76 setsebool -P nis_enabled 1
77
78
79
81 SELinux defines port types to represent TCP and UDP ports.
82
83 You can see the types associated with a port by using the following
84 command:
85
86 semanage port -l
87
88
89 Policy governs the access confined processes have to these ports.
90 SELinux kpropd policy is very flexible allowing users to setup their
91 kpropd processes in as secure a method as possible.
92
93 The following port types are defined for kpropd:
94
95
96 kprop_port_t
97
98
99
100 Default Defined Ports:
101 tcp 754
102
104 The SELinux process type kpropd_t can manage files labeled with the
105 following file types. The paths listed are the default paths for these
106 file types. Note the processes UID still need to have DAC permissions.
107
108 cluster_conf_t
109
110 /etc/cluster(/.*)?
111
112 cluster_var_lib_t
113
114 /var/lib/pcsd(/.*)?
115 /var/lib/cluster(/.*)?
116 /var/lib/openais(/.*)?
117 /var/lib/pengine(/.*)?
118 /var/lib/corosync(/.*)?
119 /usr/lib/heartbeat(/.*)?
120 /var/lib/heartbeat(/.*)?
121 /var/lib/pacemaker(/.*)?
122
123 cluster_var_run_t
124
125 /var/run/crm(/.*)?
126 /var/run/cman_.*
127 /var/run/rsctmp(/.*)?
128 /var/run/aisexec.*
129 /var/run/heartbeat(/.*)?
130 /var/run/pcsd-ruby.socket
131 /var/run/corosync-qnetd(/.*)?
132 /var/run/corosync-qdevice(/.*)?
133 /var/run/corosync.pid
134 /var/run/cpglockd.pid
135 /var/run/rgmanager.pid
136 /var/run/cluster/rgmanager.sk
137
138 krb5_host_rcache_t
139
140 /var/tmp/krb5_0.rcache2
141 /var/cache/krb5rcache(/.*)?
142 /var/tmp/nfs_0
143 /var/tmp/DNS_25
144 /var/tmp/host_0
145 /var/tmp/imap_0
146 /var/tmp/HTTP_23
147 /var/tmp/HTTP_48
148 /var/tmp/ldap_55
149 /var/tmp/ldap_487
150 /var/tmp/ldapmap1_0
151
152 krb5kdc_lock_t
153
154 /var/kerberos/krb5kdc/principal.*.ok
155 /var/kerberos/krb5kdc/from_master.*
156
157 krb5kdc_principal_t
158
159 /etc/krb5kdc/principal.*
160 /usr/var/krb5kdc/principal.*
161 /var/kerberos/krb5kdc/principal.*
162
163 krb5kdc_tmp_t
164
165
166 root_t
167
168 /sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
169 /
170 /initrd
171
172 security_t
173
174 /selinux
175
176
178 SELinux requires files to have an extended attribute to define the file
179 type.
180
181 You can see the context of a file using the -Z option to ls
182
183 Policy governs the access confined processes have to these files.
184 SELinux kpropd policy is very flexible allowing users to setup their
185 kpropd processes in as secure a method as possible.
186
187 STANDARD FILE CONTEXT
188
189 SELinux defines the file context types for the kpropd, if you wanted to
190 store files with these types in a different paths, you need to execute
191 the semanage command to specify alternate labeling and then use re‐
192 storecon to put the labels on disk.
193
194 semanage fcontext -a -t kpropd_exec_t '/srv/kpropd/content(/.*)?'
195 restorecon -R -v /srv/mykpropd_content
196
197 Note: SELinux often uses regular expressions to specify labels that
198 match multiple files.
199
200 The following file types are defined for kpropd:
201
202
203
204 kpropd_exec_t
205
206 - Set files with the kpropd_exec_t type, if you want to transition an
207 executable to the kpropd_t domain.
208
209
210 Paths:
211 /usr/sbin/kpropd, /usr/sbin/_kpropd, /usr/kerberos/sbin/kpropd
212
213
214 Note: File context can be temporarily modified with the chcon command.
215 If you want to permanently change the file context you need to use the
216 semanage fcontext command. This will modify the SELinux labeling data‐
217 base. You will need to use restorecon to apply the labels.
218
219
221 semanage fcontext can also be used to manipulate default file context
222 mappings.
223
224 semanage permissive can also be used to manipulate whether or not a
225 process type is permissive.
226
227 semanage module can also be used to enable/disable/install/remove pol‐
228 icy modules.
229
230 semanage port can also be used to manipulate the port definitions
231
232 semanage boolean can also be used to manipulate the booleans
233
234
235 system-config-selinux is a GUI tool available to customize SELinux pol‐
236 icy settings.
237
238
240 This manual page was auto-generated using sepolicy manpage .
241
242
244 selinux(8), kpropd(8), semanage(8), restorecon(8), chcon(1), sepol‐
245 icy(8), setsebool(8)
246
247
248
249kpropd 23-10-20 kpropd_selinux(8)