1tangd_selinux(8) SELinux Policy tangd tangd_selinux(8)
2
3
4
6 tangd_selinux - Security Enhanced Linux Policy for the tangd processes
7
9 Security-Enhanced Linux secures the tangd processes via flexible manda‐
10 tory access control.
11
12 The tangd processes execute with the tangd_t SELinux type. You can
13 check if you have these processes running by executing the ps command
14 with the -Z qualifier.
15
16 For example:
17
18 ps -eZ | grep tangd_t
19
20
21
23 The tangd_t SELinux type can be entered via the tangd_exec_t file type.
24
25 The default entrypoint paths for the tangd_t domain are the following:
26
27 /usr/libexec/tangd, /usr/libexec/tangd-keygen, /usr/libexec/tangd-up‐
28 date
29
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 tangd policy is very flexible allowing users to setup their tangd pro‐
38 cesses in as secure a method as possible.
39
40 The following process types are defined for tangd:
41
42 tangd_t
43
44 Note: semanage permissive -a tangd_t can be used to make the process
45 type tangd_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
51 SELinux policy is customizable based on least access required. tangd
52 policy is extremely flexible and has several booleans that allow you to
53 manipulate the policy and run tangd with the tightest access possible.
54
55
56
57 If you want to allow all domains to execute in fips_mode, you must turn
58 on the fips_mode boolean. Enabled by default.
59
60 setsebool -P fips_mode 1
61
62
63
65 SELinux defines port types to represent TCP and UDP ports.
66
67 You can see the types associated with a port by using the following
68 command:
69
70 semanage port -l
71
72
73 Policy governs the access confined processes have to these ports.
74 SELinux tangd policy is very flexible allowing users to setup their
75 tangd processes in as secure a method as possible.
76
77 The following port types are defined for tangd:
78
79
80 tangd_port_t
81
82
83
84 Default Defined Ports:
85 tcp 7406
86
88 The SELinux process type tangd_t can manage files labeled with the fol‐
89 lowing file types. The paths listed are the default paths for these
90 file types. Note the processes UID still need to have DAC permissions.
91
92 cluster_conf_t
93
94 /etc/cluster(/.*)?
95
96 cluster_var_lib_t
97
98 /var/lib/pcsd(/.*)?
99 /var/lib/cluster(/.*)?
100 /var/lib/openais(/.*)?
101 /var/lib/pengine(/.*)?
102 /var/lib/corosync(/.*)?
103 /usr/lib/heartbeat(/.*)?
104 /var/lib/heartbeat(/.*)?
105 /var/lib/pacemaker(/.*)?
106
107 cluster_var_run_t
108
109 /var/run/crm(/.*)?
110 /var/run/cman_.*
111 /var/run/rsctmp(/.*)?
112 /var/run/aisexec.*
113 /var/run/heartbeat(/.*)?
114 /var/run/pcsd-ruby.socket
115 /var/run/corosync-qnetd(/.*)?
116 /var/run/corosync-qdevice(/.*)?
117 /var/run/corosync.pid
118 /var/run/cpglockd.pid
119 /var/run/rgmanager.pid
120 /var/run/cluster/rgmanager.sk
121
122 root_t
123
124 /sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
125 /
126 /initrd
127
128 tangd_cache_t
129
130 /var/cache/tang(/.*)?
131
132 tangd_db_t
133
134 /var/db/tang(/.*)?
135
136
138 SELinux requires files to have an extended attribute to define the file
139 type.
140
141 You can see the context of a file using the -Z option to ls
142
143 Policy governs the access confined processes have to these files.
144 SELinux tangd policy is very flexible allowing users to setup their
145 tangd processes in as secure a method as possible.
146
147 STANDARD FILE CONTEXT
148
149 SELinux defines the file context types for the tangd, if you wanted to
150 store files with these types in a diffent paths, you need to execute
151 the semanage command to specify alternate labeling and then use re‐
152 storecon to put the labels on disk.
153
154 semanage fcontext -a -t tangd_db_t '/srv/mytangd_content(/.*)?'
155 restorecon -R -v /srv/mytangd_content
156
157 Note: SELinux often uses regular expressions to specify labels that
158 match multiple files.
159
160 The following file types are defined for tangd:
161
162
163
164 tangd_cache_t
165
166 - Set files with the tangd_cache_t type, if you want to store the files
167 under the /var/cache directory.
168
169
170
171 tangd_db_t
172
173 - Set files with the tangd_db_t type, if you want to treat the files as
174 tangd database content.
175
176
177
178 tangd_exec_t
179
180 - Set files with the tangd_exec_t type, if you want to transition an
181 executable to the tangd_t domain.
182
183
184 Paths:
185 /usr/libexec/tangd, /usr/libexec/tangd-keygen, /usr/libexec/tangd-
186 update
187
188
189 tangd_unit_file_t
190
191 - Set files with the tangd_unit_file_t type, if you want to treat the
192 files as tangd unit content.
193
194
195 Paths:
196 /usr/lib/systemd/system/tang.*, /usr/lib/systemd/system/tangd-key‐
197 gen.*
198
199
200 Note: File context can be temporarily modified with the chcon command.
201 If you want to permanently change the file context you need to use the
202 semanage fcontext command. This will modify the SELinux labeling data‐
203 base. You will need to use restorecon to apply the labels.
204
205
207 semanage fcontext can also be used to manipulate default file context
208 mappings.
209
210 semanage permissive can also be used to manipulate whether or not a
211 process type is permissive.
212
213 semanage module can also be used to enable/disable/install/remove pol‐
214 icy modules.
215
216 semanage port can also be used to manipulate the port definitions
217
218 semanage boolean can also be used to manipulate the booleans
219
220
221 system-config-selinux is a GUI tool available to customize SELinux pol‐
222 icy settings.
223
224
226 This manual page was auto-generated using sepolicy manpage .
227
228
230 selinux(8), tangd(8), semanage(8), restorecon(8), chcon(1), sepol‐
231 icy(8), setsebool(8)
232
233
234
235tangd 22-05-27 tangd_selinux(8)