1rpcd_selinux(8)               SELinux Policy rpcd              rpcd_selinux(8)
2
3
4

NAME

6       rpcd_selinux - Security Enhanced Linux Policy for the rpcd processes
7

DESCRIPTION

9       Security-Enhanced  Linux secures the rpcd processes via flexible manda‐
10       tory access control.
11
12       The rpcd processes execute with the rpcd_t SELinux type. You can  check
13       if  you  have  these processes running by executing the ps command with
14       the -Z qualifier.
15
16       For example:
17
18       ps -eZ | grep rpcd_t
19
20
21

ENTRYPOINTS

23       The rpcd_t SELinux type can be entered via the rpcd_exec_t file type.
24
25       The default entrypoint paths for the rpcd_t domain are the following:
26
27       /sbin/rpc..*,  /usr/sbin/rpc..*,  /sbin/sm-notify,   /usr/sbin/nfsdcld,
28       /usr/sbin/sm-notify, /usr/sbin/rpc.idmapd, /usr/sbin/rpc.rquotad
29

PROCESS TYPES

31       SELinux defines process types (domains) for each process running on the
32       system
33
34       You can see the context of a process using the -Z option to ps
35
36       Policy governs the access confined processes have  to  files.   SELinux
37       rpcd  policy  is  very flexible allowing users to setup their rpcd pro‐
38       cesses in as secure a method as possible.
39
40       The following process types are defined for rpcd:
41
42       rpcd_t
43
44       Note: semanage permissive -a rpcd_t can be used  to  make  the  process
45       type  rpcd_t  permissive.  SELinux  does  not deny access to permissive
46       process types, but the AVC (SELinux denials) messages are still  gener‐
47       ated.
48
49

BOOLEANS

51       SELinux  policy  is  customizable based on least access required.  rpcd
52       policy is extremely flexible and has several booleans that allow you to
53       manipulate the policy and run rpcd with the tightest access possible.
54
55
56
57       If you want to allow rpcd_t  to manage fuse files, you must turn on the
58       rpcd_use_fusefs boolean. Disabled by default.
59
60       setsebool -P rpcd_use_fusefs 1
61
62
63
64       If you want to dontaudit all  daemons  scheduling  requests  (setsched,
65       sys_nice),  you  must turn on the daemons_dontaudit_scheduling boolean.
66       Enabled by default.
67
68       setsebool -P daemons_dontaudit_scheduling 1
69
70
71
72       If you want to allow all domains to execute in fips_mode, you must turn
73       on the fips_mode boolean. Enabled by default.
74
75       setsebool -P fips_mode 1
76
77
78
79       If  you  want  to  allow  system  to run with NIS, you must turn on the
80       nis_enabled boolean. Disabled by default.
81
82       setsebool -P nis_enabled 1
83
84
85

MANAGED FILES

87       The SELinux process type rpcd_t can manage files labeled with the  fol‐
88       lowing  file  types.   The paths listed are the default paths for these
89       file types.  Note the processes UID still need to have DAC permissions.
90
91       cluster_conf_t
92
93            /etc/cluster(/.*)?
94
95       cluster_tmp_t
96
97
98       cluster_var_lib_t
99
100            /var/lib/pcsd(/.*)?
101            /var/lib/cluster(/.*)?
102            /var/lib/openais(/.*)?
103            /var/lib/pengine(/.*)?
104            /var/lib/corosync(/.*)?
105            /usr/lib/heartbeat(/.*)?
106            /var/lib/heartbeat(/.*)?
107            /var/lib/pacemaker(/.*)?
108
109       cluster_var_run_t
110
111            /var/run/crm(/.*)?
112            /var/run/cman_.*
113            /var/run/rsctmp(/.*)?
114            /var/run/aisexec.*
115            /var/run/heartbeat(/.*)?
116            /var/run/pcsd-ruby.socket
117            /var/run/corosync-qnetd(/.*)?
118            /var/run/corosync-qdevice(/.*)?
119            /var/run/corosync.pid
120            /var/run/cpglockd.pid
121            /var/run/rgmanager.pid
122            /var/run/cluster/rgmanager.sk
123
124       fusefs_t
125
126            /var/run/user/[0-9]+/gvfs
127
128       krb5_host_rcache_t
129
130            /var/tmp/krb5_0.rcache2
131            /var/cache/krb5rcache(/.*)?
132            /var/tmp/nfs_0
133            /var/tmp/DNS_25
134            /var/tmp/host_0
135            /var/tmp/imap_0
136            /var/tmp/HTTP_23
137            /var/tmp/HTTP_48
138            /var/tmp/ldap_55
139            /var/tmp/ldap_487
140            /var/tmp/ldapmap1_0
141
142       quota_db_t
143
144            /a?quota.(user|group)
145            /etc/a?quota.(user|group)
146            /var/a?quota.(user|group)
147            /boot/a?quota.(user|group)
148            /var/spool/(.*/)?a?quota.(user|group)
149            /var/spool/cron/a?quota.(user|group)
150            /var/lib/openshift/a?quota.(user|group)
151            /var/lib/stickshift/a?quota.(user|group)
152            /home/[^/]+/a?quota.(user|group)
153            /home/a?quota.(user|group)
154
155       root_t
156
157            /sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
158            /
159            /initrd
160
161       rpcd_lock_t
162
163            /var/run/rpc.statd.lock
164
165       rpcd_var_run_t
166
167            /var/run/sm-notify.*
168            /var/run/rpc.statd(/.*)?
169            /var/run/rpc.statd.pid
170
171       var_lib_nfs_t
172
173            /var/lib/nfs(/.*)?
174
175       var_lib_t
176
177            /opt/(.*/)?var/lib(/.*)?
178            /var/lib(/.*)?
179
180

FILE CONTEXTS

182       SELinux requires files to have an extended attribute to define the file
183       type.
184
185       You can see the context of a file using the -Z option to ls
186
187       Policy  governs  the  access  confined  processes  have to these files.
188       SELinux rpcd policy is very flexible allowing users to setup their rpcd
189       processes in as secure a method as possible.
190
191       EQUIVALENCE DIRECTORIES
192
193
194       rpcd  policy stores data with multiple different file context types un‐
195       der the /var/run/rpc.statd directory.  If you would like to  store  the
196       data  in a different directory you can use the semanage command to cre‐
197       ate an equivalence mapping.  If you wanted to store this data under the
198       /srv directory you would execute the following command:
199
200       semanage fcontext -a -e /var/run/rpc.statd /srv/rpc.statd
201       restorecon -R -v /srv/rpc.statd
202
203       STANDARD FILE CONTEXT
204
205       SELinux  defines  the file context types for the rpcd, if you wanted to
206       store files with these types in a different paths, you need to  execute
207       the  semanage  command  to  specify alternate labeling and then use re‐
208       storecon to put the labels on disk.
209
210       semanage fcontext -a -t rpcd_var_run_t '/srv/rpcd/content(/.*)?'
211       restorecon -R -v /srv/myrpcd_content
212
213       Note: SELinux often uses regular expressions  to  specify  labels  that
214       match multiple files.
215
216       The following file types are defined for rpcd:
217
218
219
220       rpcd_exec_t
221
222       - Set files with the rpcd_exec_t type, if you want to transition an ex‐
223       ecutable to the rpcd_t domain.
224
225
226       Paths:
227            /sbin/rpc..*, /usr/sbin/rpc..*,  /sbin/sm-notify,  /usr/sbin/nfsd‐
228            cld,           /usr/sbin/sm-notify,          /usr/sbin/rpc.idmapd,
229            /usr/sbin/rpc.rquotad
230
231
232       rpcd_initrc_exec_t
233
234       - Set files with the rpcd_initrc_exec_t type, if you want to transition
235       an executable to the rpcd_initrc_t domain.
236
237
238       Paths:
239            /etc/rc.d/init.d/nfslock, /etc/rc.d/init.d/rpcidmapd
240
241
242       rpcd_lock_t
243
244       -  Set  files with the rpcd_lock_t type, if you want to treat the files
245       as rpcd lock data, stored under the /var/lock directory
246
247
248
249       rpcd_unit_file_t
250
251       - Set files with the rpcd_unit_file_t type, if you want  to  treat  the
252       files as rpcd unit content.
253
254
255
256       rpcd_var_run_t
257
258       - Set files with the rpcd_var_run_t type, if you want to store the rpcd
259       files under the /run or /var/run directory.
260
261
262       Paths:
263            /var/run/sm-notify.*,                    /var/run/rpc.statd(/.*)?,
264            /var/run/rpc.statd.pid
265
266
267       Note:  File context can be temporarily modified with the chcon command.
268       If you want to permanently change the file context you need to use  the
269       semanage fcontext command.  This will modify the SELinux labeling data‐
270       base.  You will need to use restorecon to apply the labels.
271
272

COMMANDS

274       semanage fcontext can also be used to manipulate default  file  context
275       mappings.
276
277       semanage  permissive  can  also  be used to manipulate whether or not a
278       process type is permissive.
279
280       semanage module can also be used to enable/disable/install/remove  pol‐
281       icy modules.
282
283       semanage boolean can also be used to manipulate the booleans
284
285
286       system-config-selinux is a GUI tool available to customize SELinux pol‐
287       icy settings.
288
289

AUTHOR

291       This manual page was auto-generated using sepolicy manpage .
292
293

SEE ALSO

295       selinux(8), rpcd(8), semanage(8), restorecon(8), chcon(1), sepolicy(8),
296       setsebool(8)
297
298
299
300rpcd                               23-10-20                    rpcd_selinux(8)
Impressum