SNAPPER_TU_ETC_PLUGIN_SELINUX(8)
β¨ NAME β¨
okay so bestie, this page is snapper_tu_etc_plugin_selinux(8) β and it's literally the Security Enhanced Linux Policy for the snapper_tu_etc_plugin processes π
and yes, the manual name is snapper..._selinux(8) because SELinux policy manpage naming said "let's be dramatic about it."
πΈ DESCRIPTION πΈ
Security-Enhanced Linux keeps the snapper_tu_etc_plugin processes safe via flexible mandatory access control β like a bouncer but for syscalls, no cap.
The snapper_tu_etc_plugin processes execute with the snapper_tu_etc_plugin_t SELinux type. Wanna check if you've got these processes running? Run the ps command with the -Z qualifier. Iconic little combo, fr:
ps -eZ | grep snapper_tu_etc_plugin_t
π¦ ENTRYPOINTS π¦
So the snapper_tu_etc_plugin_t SELinux type can be entered via the snapper_tu_etc_plugin_exec_t file type.
The default entrypoint paths for the snapper_tu_etc_plugin_t domain are literally these:
/usr/lib/snapper/plugins/50-etc
π PROCESS TYPES π
SELinux defines process types (domains) for each process running on the system β every process gets its own lil identity, main character energy.
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 snapper_tu_etc_plugin policy is very flexible, allowing users to set up their snapper_tu_etc_plugin processes in as secure a method as possible. π«Ά
The following process types are defined for snapper_tu_etc_plugin:
snapper_tu_etc_plugin_t
Note:semanage permissive -a snapper_tu_etc_plugin_tcan be used to make the process typesnapper_tu_etc_plugin_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. So likeβ¦ it won't block you, but it will still be gossiping about you in the logs π
π BOOLEANS π
SELinux policy is customizable based on least access required β the "give them nothing and let them earn it" philosophy, honestly. The snapper_tu_etc_plugin policy is extremely flexible and has several booleans that allow you to manipulate the policy and run snapper_tu_etc_plugin with the tightest access possible.
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
π MANAGED FILES π
The SELinux process type snapper_tu_etc_plugin_t can manage files labeled with the following file types. The paths listed are the default paths for these file types. Note: the processes UID still need to have DAC permissions β SELinux is not here to do DAC's homework, periodt.
file_type
- all files on the system
π FILE CONTEXTS π
SELinux requires files to have an extended attribute to define the file type β like every file has a little name tag at the party.
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 snapper_tu_etc_plugin policy is very flexible, allowing users to set up their snapper_tu_etc_plugin processes in as secure a method as possible.
π§ STANDARD FILE CONTEXT π§
SELinux defines the file context types for the snapper_tu_etc_plugin, so 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.
semanage fcontext -a -t snapper_tu_etc_plugin_exec_t '/srv/snapper_tu_etc_plugin/content(/.*)?'
restorecon -R -v /srv/mysnapper_tu_etc_plugin_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. regexes are lowkey the moment, iykyk.
The following file types are defined for snapper_tu_etc_plugin:
snapper_tu_etc_plugin_exec_t
- Set files with the
snapper_tu_etc_plugin_exec_ttype if you want to transition an executable to thesnapper_tu_etc_plugin_tdomain. slay, a little domain transition β¨
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 modifies the SELinux labeling database. You will need to userestoreconto apply the labels.chconis giving temporary tattoo,semanage fcontextis giving permanent ink, choose wisely π«Ά
π 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-selinux is a GUI tool available to customize SELinux policy settings β yes bestie, there's a GUI, you don't have to live in the terminal (but likeβ¦ you can π
).
β AUTHOR β
This manual page was auto-generated using sepolicy manpage. Not me getting written by a script and still serving looks ππ₯
π« SEE ALSO π«
selinux(8), snapper_tu_etc_plugin(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)
and that's the whole page, bestie π this was snapper_tu_etc_plugin, dated 26-10-06, living under the snapper..._selinux(8) banner β go forth and label responsibly, mwah πβ¨π¦
π¦ 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