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 crontab_exec_t,
25       user_cron_spool_t file types.
26
27       The default entrypoint paths for the  openshift_app_t  domain  are  the
28       following:
29
30       /usr/bin/(f)?crontab,        /usr/bin/at,        /usr/sbin/fcronsighup,
31       /usr/libexec/fcronsighup,     /var/spool/at(/.*)?,     /var/spool/cron,
32       /var/spool/cron/[^/]+
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       openshift_app  policy  is  very  flexible allowing users to setup their
42       openshift_app processes in as secure a method as possible.
43
44       The following process types are defined for openshift_app:
45
46       openshift_app_t
47
48       Note: semanage permissive -a openshift_app_t can be used  to  make  the
49       process  type  openshift_app_t permissive. SELinux does not deny access
50       to permissive process types, but the AVC (SELinux denials) messages are
51       still generated.
52
53

MCS Constrained

55       The  SELinux process type openshift_app_t is an MCS (Multi Category Se‐
56       curity) constrained type.  Sometimes this separation is referred to  as
57       sVirt.  These types are usually used for securing multi-tenant environ‐
58       ments, such as virtualization, containers or separation of users.   The
59       tools used to launch MCS types, pick out a different MCS label for each
60       process group.
61
62       For   example   one   process   might   be    launched    with    open‐
63       shift_app_t:s0:c1,c2,   and   another   process   launched  with  open‐
64       shift_app_t:s0:c3,c4. The SELinux kernel only  allows  these  processes
65       can  only write to content with a matching MCS label, or a MCS Label of
66       s0. A process running with the MCS level of s0:c1,c2 is not allowed  to
67       write to content with the MCS label of s0:c3,c4
68
69

BOOLEANS

71       SELinux  policy  is customizable based on least access required.  open‐
72       shift_app policy is extremely flexible and has  several  booleans  that
73       allow  you  to  manipulate  the  policy  and run openshift_app with the
74       tightest access possible.
75
76
77
78       If you want to determine whether crond can execute jobs in the user do‐
79       main as opposed to the the generic cronjob domain, you must turn on the
80       cron_userdomain_transition boolean. Enabled by default.
81
82       setsebool -P cron_userdomain_transition 1
83
84
85
86       If you want to deny any process from ptracing or  debugging  any  other
87       processes,  you  must  turn on the deny_ptrace boolean. Disabled by de‐
88       fault.
89
90       setsebool -P deny_ptrace 1
91
92
93
94       If you want to allow system to run with  NIS,  you  must  turn  on  the
95       nis_enabled boolean. Disabled by default.
96
97       setsebool -P nis_enabled 1
98
99
100

MANAGED FILES

102       The  SELinux process type openshift_app_t can manage files labeled with
103       the following file types.  The paths listed are the default  paths  for
104       these  file  types.  Note the processes UID still need to have DAC per‐
105       missions.
106
107       faillog_t
108
109            /var/log/btmp.*
110            /var/log/faillog.*
111            /var/log/tallylog.*
112            /var/run/faillock(/.*)?
113
114       hugetlbfs_t
115
116            /dev/hugepages
117            /usr/lib/udev/devices/hugepages
118
119       krb5_host_rcache_t
120
121            /var/tmp/krb5_0.rcache2
122            /var/cache/krb5rcache(/.*)?
123            /var/tmp/nfs_0
124            /var/tmp/DNS_25
125            /var/tmp/host_0
126            /var/tmp/imap_0
127            /var/tmp/HTTP_23
128            /var/tmp/HTTP_48
129            /var/tmp/ldap_55
130            /var/tmp/ldap_487
131            /var/tmp/ldapmap1_0
132
133       openshift_tmpfs_t
134
135
136       security_t
137
138            /selinux
139
140

COMMANDS

142       semanage fcontext can also be used to manipulate default  file  context
143       mappings.
144
145       semanage  permissive  can  also  be used to manipulate whether or not a
146       process type is permissive.
147
148       semanage module can also be used to enable/disable/install/remove  pol‐
149       icy modules.
150
151       semanage boolean can also be used to manipulate the booleans
152
153
154       system-config-selinux is a GUI tool available to customize SELinux pol‐
155       icy settings.
156
157

AUTHOR

159       This manual page was auto-generated using sepolicy manpage .
160
161

SEE ALSO

163       selinux(8), openshift_app(8), semanage(8), restorecon(8), chcon(1), se‐
164       policy(8), setsebool(8)
165
166
167
168openshift_app                      23-10-20           openshift_app_selinux(8)
Impressum