thin_selinux(8)
π
thin_selinux(8) β the girl's guide to the thin SELinux policy π
okay so bestie, this is the manual page for thin_selinux β the Security Enhanced Linux Policy for the thin processes. yes it's a mouthful, no I will not be shortening it. let's go β¨
πΈ NAME πΈ
thin_selinux β Security Enhanced Linux Policy for the thin processes. that's it, that's the name, iconic behaviour honestly π
β¨ DESCRIPTION β¨
Security-Enhanced Linux secures the thin processes via flexible mandatory access control. flexible AND mandatory, she contains multitudes fr fr π
The thin processes execute with the thin_t SELinux type. wanna check if you've got these processes running? just run the ps command with the -Z qualifier. easy peasy π
for example:
ps -eZ | grep thin_t
look at you go, checking your contexts like a main character π
π¦ ENTRYPOINTS π¦
The thin_t SELinux type can be entered via the thin_exec_t file type.
the default entrypoint paths for the thin_t domain are the following:
/usr/bin/thin
one path. one. she's exclusive like that π
π PROCESS TYPES π
SELinux defines process types (domains) for each process running on the system. yes, every process has a vibe check π§
you can see the context of a process using the -Z option to ps.
policy governs the access confined processes have to files. the SELinux thin policy is very flexible, allowing users to set up their thin processes in as secure a method as possible. security AND flexibility, we love a range π
the following process types are defined for thin:
thin_tthin_aeolus_configserver_t
note:semanage permissive -a thin_tcan be used to make the process typethin_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so like, she won't block you, but she WILL be writing it down in her notes π keep that in mind bestie.
π BOOLEANS π
SELinux policy is customizable based on least access required. the thin policy is extremely flexible and has several booleans that allow you to manipulate the policy and run thin with the tightest access possible. tightest access possible, periodt π
if you want to dontaudit all daemons scheduling requests (setsched, sys_nice), you must turn on the daemons_dontaudit_scheduling boolean. Enabled by default.
setsebool -P daemons_dontaudit_scheduling 1
if you want to allow all domains to execute in fips_mode, you must turn on the fips_mode boolean. Enabled by default.
setsebool -P fips_mode 1
both on by default, both slaying in their own lane β
π MANAGED FILES π
The SELinux process type thin_t can manage files labeled with the following file types. the paths listed are the default paths for these file types. quick reminder though β the process's UID still needs to have DAC permissions, SELinux can't override that for you π«Ά
cluster_conf_t
/etc/cluster(/.*)?
cluster_var_lib_t
/var/lib/pcsd(/.*)?
/var/lib/cluster(/.*)?
/var/lib/openais(/.*)?
/var/lib/pengine(/.*)?
/var/lib/corosync(/.*)?
/usr/lib/heartbeat(/.*)?
/var/lib/heartbeat(/.*)?
/var/lib/pacemaker(/.*)?
cluster_var_run_t
/run/crm(/.*)?
/run/cman_.*
/run/rsctmp(/.*)?
/run/aisexec.*
/run/heartbeat(/.*)?
/run/pcsd-ruby.socket
/run/corosync-qnetd(/.*)?
/run/corosync-qdevice(/.*)?
/run/pcsd.socket
/run/corosync.pid
/run/cpglockd.pid
/run/rgmanager.pid
/run/cluster/rgmanager.sk
root_t
/sysroot/.aleph-version.json
/sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
/
/initrd
/var/lib/ntp
thin_log_t
/var/log/thin.log.*
thin_var_run_t
/run/thin(/.*)?
/run/aeolus/thin.pid
that's the whole roster, no skips, no cuts π€
π₯ FILE CONTEXTS π₯
SELinux requires files to have an extended attribute to define the file type. like a little name tag but for your files π·οΈ
you can see the context of a file using the -Z option to ls.
policy governs the access confined processes have to these files. the SELinux thin policy is very flexible, allowing users to set up their thin processes in as secure a method as possible. again, we love a secure flexible queen π
β STANDARD FILE CONTEXT β
SELinux defines the file context types for thin. if you wanted to store files with these types in different paths, you need to execute the semanage command to specify alternate labeling and then use restorecon to put the labels on disk. like so:
semanage fcontext -a -t thin_exec_t '/srv/thin/content(/.*)?'
restorecon -R -v /srv/mythin_content
note: SELinux often uses regular expressions to specify labels that match multiple files. regex jumpscare, but make it chic π
the following file types are defined for thin:
thin_aeolus_configserver_exec_tβ set files with thethin_aeolus_configserver_exec_ttype if you want to transition an executable to thethin_aeolus_configserver_tdomain.thin_aeolus_configserver_lib_tβ set files with thethin_aeolus_configserver_lib_ttype if you want to treat the files as thin aeolus configserver lib data.thin_aeolus_configserver_log_tβ set files with thethin_aeolus_configserver_log_ttype if you want to treat the data as thin aeolus configserver log data, usually stored under the/var/logdirectory.thin_aeolus_configserver_var_run_tβ set files with thethin_aeolus_configserver_var_run_ttype if you want to store the thin aeolus configserver files under the/runor/var/rundirectory.thin_exec_tβ set files with thethin_exec_ttype if you want to transition an executable to thethin_tdomain.thin_log_tβ set files with thethin_log_ttype if you want to treat the data as thin log data, usually stored under the/var/logdirectory.thin_var_run_tβ set files with thethin_var_run_ttype if you want to store the thin files under the/runor/var/rundirectory.
Paths:
/run/thin(/.*)?, /run/aeolus/thin.pid
note: file context can be temporarily modified with thechconcommand. if you want to permanently change the file context you need to use thesemanage fcontextcommand. this will modify the SELinux labeling database. you will need to userestoreconto apply the labels. temporary vs permanent, know the difference bestie ππ«Ά
π COMMANDS π
semanage fcontextcan also be used to manipulate default file context mappings.semanage permissivecan also be used to manipulate whether or not a process type is permissive.semanage modulecan also be used to enable/disable/install/remove policy modules.semanage booleancan also be used to manipulate the booleans.system-config-selinuxis a GUI tool available to customize SELinux policy settings. a whole GUI, for the girlies who like buttons π
π§ AUTHOR π§
This manual page was auto-generated using sepolicy manpage.
no human hands, just automation doing her thing β¨
π SEE ALSO π
selinux(8), thin(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8), thin_aeolus_configserver_selinux(8), thin_aeolus_configserver_selinux(8)
(yes, thin_aeolus_configserver_selinux(8) is listed twice β that's how the original rolls, and I'm not about to edit her π
)
and that's the whole page! this one came from the thin package, dated 26-10-06, manual section thin_selinux(8). go forth and label responsibly, bestie ππ¦
π¦ where this page comes from
- opensuse-leap 16.0: selinux-policy-doc 20250627+git412.dbf877ab7-160000.1.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms