1system_dbusd_selinux(8)   SELinux Policy system_dbusd  system_dbusd_selinux(8)
2
3
4

NAME

6       system_dbusd_selinux  -  Security  Enhanced  Linux  Policy for the sys‐
7       tem_dbusd processes
8

DESCRIPTION

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

ENTRYPOINTS

24       The  system_dbusd_t  SELinux  type  can be entered via the dbusd_exec_t
25       file type.
26
27       The default entrypoint paths for the system_dbusd_t domain are the fol‐
28       lowing:
29
30       /usr/bin/dbus-daemon(-1)?,  /bin/dbus-daemon,  /lib/dbus-1/dbus-daemon-
31       launch-helper,                  /usr/libexec/dbus-daemon-launch-helper,
32       /lib64/dbus-1/dbus-daemon-launch-helper
33

PROCESS TYPES

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

BOOLEANS

55       SELinux  policy  is  customizable based on least access required.  sys‐
56       tem_dbusd policy is extremely flexible and has  several  booleans  that
57       allow you to manipulate the policy and run system_dbusd with the tight‐
58       est access possible.
59
60
61
62       If you want to allow all daemons the ability to  read/write  terminals,
63       you  must  turn  on  the  allow_daemons_use_tty  boolean.  Disabled  by
64       default.
65
66       setsebool -P allow_daemons_use_tty 1
67
68
69
70       If you want to allow all domains to use other domains file descriptors,
71       you must turn on the allow_domain_fd_use boolean. Enabled by default.
72
73       setsebool -P allow_domain_fd_use 1
74
75
76
77       If  you  want  to allow confined applications to run with kerberos, you
78       must turn on the allow_kerberos boolean. Enabled by default.
79
80       setsebool -P allow_kerberos 1
81
82
83
84       If you want to allow sysadm to debug or ptrace all processes, you  must
85       turn on the allow_ptrace boolean. Disabled by default.
86
87       setsebool -P allow_ptrace 1
88
89
90
91       If  you  want  to  allow  system  to run with NIS, you must turn on the
92       allow_ypbind boolean. Disabled by default.
93
94       setsebool -P allow_ypbind 1
95
96
97
98       If you want to allow all domains to have the kernel load  modules,  you
99       must  turn  on  the  domain_kernel_load_modules  boolean.  Disabled  by
100       default.
101
102       setsebool -P domain_kernel_load_modules 1
103
104
105
106       If you want to allow all domains to execute in fips_mode, you must turn
107       on the fips_mode boolean. Enabled by default.
108
109       setsebool -P fips_mode 1
110
111
112
113       If you want to enable reading of urandom for all domains, you must turn
114       on the global_ssp boolean. Disabled by default.
115
116       setsebool -P global_ssp 1
117
118
119
120       If you want to allow confined applications to use nscd  shared  memory,
121       you must turn on the nscd_use_shm boolean. Enabled by default.
122
123       setsebool -P nscd_use_shm 1
124
125
126

MANAGED FILES

128       The  SELinux  process type system_dbusd_t can manage files labeled with
129       the following file types.  The paths listed are the default  paths  for
130       these  file  types.  Note the processes UID still need to have DAC per‐
131       missions.
132
133       initrc_tmp_t
134
135
136       mnt_t
137
138            /mnt(/[^/]*)
139            /mnt(/[^/]*)?
140            /rhev(/[^/]*)?
141            /media(/[^/]*)
142            /media(/[^/]*)?
143            /etc/rhgb(/.*)?
144            /media/.hal-.*
145            /net
146            /afs
147            /rhev
148            /misc
149
150       security_t
151
152
153       system_dbusd_tmp_t
154
155
156       system_dbusd_var_run_t
157
158            /var/run/dbus(/.*)?
159            /var/named/chroot/var/run/dbus(/.*)?
160
161       tmp_t
162
163            /tmp
164            /usr/tmp
165            /var/tmp
166            /tmp-inst
167            /var/tmp-inst
168            /var/tmp/vi.recover
169
170

FILE CONTEXTS

172       SELinux requires files to have an extended attribute to define the file
173       type.
174
175       You can see the context of a file using the -Z option to ls
176
177       Policy  governs  the  access  confined  processes  have to these files.
178       SELinux system_dbusd policy is very flexible allowing  users  to  setup
179       their system_dbusd processes in as secure a method as possible.
180
181       STANDARD FILE CONTEXT
182
183       SELinux  defines  the  file  context types for the system_dbusd, if you
184       wanted to store files with these types in a diffent paths, you need  to
185       execute  the  semanage  command to sepecify alternate labeling and then
186       use restorecon to put the labels on disk.
187
188       semanage   fcontext   -a   -t    system_dbusd_var_run_t    '/srv/mysys‐
189       tem_dbusd_content(/.*)?'
190       restorecon -R -v /srv/mysystem_dbusd_content
191
192       Note:  SELinux  often  uses  regular expressions to specify labels that
193       match multiple files.
194
195       The following file types are defined for system_dbusd:
196
197
198
199       system_dbusd_tmp_t
200
201       - Set files with the system_dbusd_tmp_t type, if you want to store sys‐
202       tem dbusd temporary files in the /tmp directories.
203
204
205
206       system_dbusd_var_lib_t
207
208       -  Set files with the system_dbusd_var_lib_t type, if you want to store
209       the system dbusd files under the /var/lib directory.
210
211
212
213       system_dbusd_var_run_t
214
215       - Set files with the system_dbusd_var_run_t type, if you want to  store
216       the system dbusd files under the /run or /var/run directory.
217
218
219       Paths:
220            /var/run/dbus(/.*)?, /var/named/chroot/var/run/dbus(/.*)?
221
222
223       Note:  File context can be temporarily modified with the chcon command.
224       If you want to permanently change the file context you need to use  the
225       semanage fcontext command.  This will modify the SELinux labeling data‐
226       base.  You will need to use restorecon to apply the labels.
227
228

COMMANDS

230       semanage fcontext can also be used to manipulate default  file  context
231       mappings.
232
233       semanage  permissive  can  also  be used to manipulate whether or not a
234       process type is permissive.
235
236       semanage module can also be used to enable/disable/install/remove  pol‐
237       icy modules.
238
239       semanage boolean can also be used to manipulate the booleans
240
241
242       system-config-selinux is a GUI tool available to customize SELinux pol‐
243       icy settings.
244
245

AUTHOR

247       This manual page was auto-generated using sepolicy manpage .
248
249

SEE ALSO

251       selinux(8), system_dbusd(8),  semanage(8),  restorecon(8),  chcon(1)  ,
252       setsebool(8)
253
254
255
256system_dbusd                       15-06-03            system_dbusd_selinux(8)
Impressum