1openshift_app_selinux(8) SELinux Policy openshift_app openshift_app_selinux(8)
2
3
4

NAME

6       openshift_app_selinux  -  Security  Enhanced Linux Policy for the open‐
7       shift_app processes
8

DESCRIPTION

10       Security-Enhanced Linux secures the openshift_app processes via  flexi‐
11       ble mandatory access control.
12
13       The  openshift_app  processes  execute with the openshift_app_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 openshift_app_t
20
21
22

ENTRYPOINTS

24       The   openshift_app_t   SELinux   type   can   be   entered   via   the
25       user_cron_spool_t,     gpg_exec_t,     bin_t,      openshift_file_type,
26       httpd_exec_t, shell_exec_t file types.
27
28       The  default  entrypoint  paths  for the openshift_app_t domain are the
29       following:
30
31       All executeables with the default executable label, usually  stored  in
32       /usr/bin    and   /usr/sbin.    /var/spool/at(/.*)?,   /var/spool/cron,
33       /usr/lib(64)?/gnupg/.*,        /usr/bin/gpg(2)?,         /usr/bin/kgpg,
34       /usr/sbin/httpd(.worker)?,    /usr/sbin/apache(2)?,    /usr/lib/apache-
35       ssl/.+,  /usr/sbin/apache-ssl(2)?,  /usr/sbin/nginx,  /usr/sbin/thttpd,
36       /usr/sbin/php-fpm,        /usr/sbin/cherokee,       /usr/sbin/lighttpd,
37       /usr/bin/mongrel_rails, /usr/sbin/htcacheclean, /bin/d?ash, /bin/zsh.*,
38       /bin/ksh.*,  /bin/sash,  /bin/tcsh,  /bin/yash,  /bin/mksh,  /bin/fish,
39       /bin/bash, /bin/bash2,  /usr/bin/fish,  /sbin/nologin,  /usr/sbin/sesh,
40       /usr/sbin/smrsh,  /usr/bin/scponly, /usr/libexec/sesh, /usr/sbin/scpon‐
41       lyc, /usr/bin/git-shell, /usr/libexec/git-core/git-shell
42

PROCESS TYPES

44       SELinux defines process types (domains) for each process running on the
45       system
46
47       You can see the context of a process using the -Z option to ps
48
49       Policy  governs  the  access confined processes have to files.  SELinux
50       openshift_app policy is very flexible allowing  users  to  setup  their
51       openshift_app processes in as secure a method as possible.
52
53       The following process types are defined for openshift_app:
54
55       openshift_app_t
56
57       Note:  semanage  permissive  -a openshift_app_t can be used to make the
58       process type openshift_app_t permissive. SELinux does not  deny  access
59       to permissive process types, but the AVC (SELinux denials) messages are
60       still generated.
61
62

BOOLEANS

64       SELinux policy is customizable based on least access  required.   open‐
65       shift_app  policy  is  extremely flexible and has several booleans that
66       allow you to manipulate the  policy  and  run  openshift_app  with  the
67       tightest access possible.
68
69
70
71       If you want to allow all domains to use other domains file descriptors,
72       you must turn on the allow_domain_fd_use boolean. Enabled by default.
73
74       setsebool -P allow_domain_fd_use 1
75
76
77
78       If you want to allow sysadm to debug or ptrace all processes, you  must
79       turn on the allow_ptrace boolean. Disabled by default.
80
81       setsebool -P allow_ptrace 1
82
83
84
85       If  you  want to allow all domains to have the kernel load modules, you
86       must  turn  on  the  domain_kernel_load_modules  boolean.  Disabled  by
87       default.
88
89       setsebool -P domain_kernel_load_modules 1
90
91
92
93       If you want to allow all domains to execute in fips_mode, you must turn
94       on the fips_mode boolean. Enabled by default.
95
96       setsebool -P fips_mode 1
97
98
99
100       If you want to enable reading of urandom for all domains, you must turn
101       on the global_ssp boolean. Disabled by default.
102
103       setsebool -P global_ssp 1
104
105
106
107       If  you  want  to  allow  openshift  to access nfs file systems without
108       labels, you must turn on the  openshift_use_nfs  boolean.  Disabled  by
109       default.
110
111       setsebool -P openshift_use_nfs 1
112
113
114

MANAGED FILES

116       The  SELinux process type openshift_app_t can manage files labeled with
117       the following file types.  The paths listed are the default  paths  for
118       these  file  types.  Note the processes UID still need to have DAC per‐
119       missions.
120
121       anon_inodefs_t
122
123
124       hugetlbfs_t
125
126
127       initrc_tmp_t
128
129
130       mnt_t
131
132            /mnt(/[^/]*)
133            /mnt(/[^/]*)?
134            /rhev(/[^/]*)?
135            /media(/[^/]*)
136            /media(/[^/]*)?
137            /etc/rhgb(/.*)?
138            /media/.hal-.*
139            /net
140            /afs
141            /rhev
142            /misc
143
144       nfs_t
145
146
147       openshift_rw_file_t
148
149            /var/lib/openshift/.*/data(/.*)?
150            /var/lib/stickshift/.*/data(/.*)?
151
152       openshift_tmp_t
153
154            /var/lib/openshift/.*/.tmp(/.*)?
155            /var/lib/openshift/.*/.sandbox(/.*)?
156            /var/lib/stickshift/.*/.tmp(/.*)?
157            /var/lib/stickshift/.*/.sandbox(/.*)?
158
159       openshift_tmpfs_t
160
161
162       security_t
163
164
165       tmp_t
166
167            /tmp
168            /usr/tmp
169            /var/tmp
170            /tmp-inst
171            /var/tmp-inst
172            /var/tmp/vi.recover
173
174

COMMANDS

176       semanage fcontext can also be used to manipulate default  file  context
177       mappings.
178
179       semanage  permissive  can  also  be used to manipulate whether or not a
180       process type is permissive.
181
182       semanage module can also be used to enable/disable/install/remove  pol‐
183       icy modules.
184
185       semanage boolean can also be used to manipulate the booleans
186
187
188       system-config-selinux is a GUI tool available to customize SELinux pol‐
189       icy settings.
190
191

AUTHOR

193       This manual page was auto-generated using sepolicy manpage .
194
195

SEE ALSO

197       selinux(8), openshift_app(8), semanage(8),  restorecon(8),  chcon(1)  ,
198       setsebool(8)
199
200
201
202openshift_app                      15-06-03           openshift_app_selinux(8)
Impressum