selinux...selinux(8)
π NAME
okay so bestie, gather round β this is selinux_munin_plugin_selinux, which is literally the Security Enhanced Linux Policy for the selinux_munin_plugin processes. that's the whole name, that's the whole vibe. β¨
πΈ DESCRIPTION
Security-Enhanced Linux secures the selinux_munin_plugin processes via flexible mandatory access control. like, it's giving very much "we don't do whatever we want here" and honestly? iconic. π
The selinux_munin_plugin processes execute with the selinux_munin_plugin_t SELinux type. you can check if you've got these processes running by executing the ps command with the -Z qualifier. vibe check time:
ps -eZ | grep selinux_munin_plugin_t
no cap, that's it. that's the whole check. π«Ά
π¦ ENTRYPOINTS
The selinux_munin_plugin_t SELinux type can be entered via the selinux_munin_plugin_exec_t file type. that's the door, bestie. one door. πͺ
The default entrypoint paths for the selinux_munin_plugin_t domain are the following:
/usr/share/munin/plugins/selinux_avcstat
literally just the one. she's specific. π
β PROCESS TYPES
SELinux defines process types (domains) for each process running on the system. yes. every. single. one. π
You can see the context of a process using the -Z option to ps. (same trick as before, it's giving consistency.)
Policy governs the access confined processes have to files. SELinux selinux_munin_plugin policy is very flexible, allowing users to set up their selinux_munin_plugin processes in as secure a method as possible. flexible and secure? she ate. π₯
The following process types are defined for selinux_munin_plugin:
selinux_munin_plugin_t
Note:semanage permissive -a selinux_munin_plugin_tcan be used to make the process typeselinux_munin_plugin_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's still gonna talk about it in the logs. π
π BOOLEANS
SELinux policy is customizable based on least access required. selinux_munin_plugin policy is extremely flexible and has several booleans that allow you to manipulate the policy and run selinux_munin_plugin with the tightest access possible. booleans are basically the on/off switches and we love a toggle. π
If you want to allow all domains to execute in fips_mode, you must turn on the fips_mode boolean. Enabled by default. (so she's already on, no notes.)
setsebool -P fips_mode 1
If you want to allow system to run with NIS, you must turn on the nis_enabled boolean. Disabled by default.
setsebool -P nis_enabled 1
two booleans, two little buttons. press responsibly. π
π MANAGED FILES
The SELinux process type selinux_munin_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 β like, SELinux says yes but your regular file permissions can still say no. both have to agree. it's a whole committee. π
krb5_host_rcache_t
/var/tmp/krb5_0.rcache2
/var/cache/krb5rcache(/.*)?
/var/tmp/nfs_0
/var/tmp/DNS_25
/var/tmp/host_0
/var/tmp/imap_0
/var/tmp/HTTP_23
/var/tmp/HTTP_48
/var/tmp/ldap_55
/var/tmp/ldap_487
/var/tmp/ldapmap1_0
munin_plugin_state_t
/var/lib/munin/plugin-state(/.*)?
selinux_munin_plugin_tmp_t
(no default paths listed for this one β she's mysterious like that. π€«)
β¨ FILE CONTEXTS
SELinux requires files to have an extended attribute to define the file type. yep, every file's got a little label on it. it's fashion but for filesystems. π
You can see the context of a file using the -Z option to ls. (-Z really is the main character of this whole manpage, ngl.)
Policy governs the access confined processes have to these files. SELinux selinux_munin_plugin policy is very flexible, allowing users to set up their selinux_munin_plugin processes in as secure a method as possible.
π STANDARD FILE CONTEXT
SELinux defines the file context types for selinux_munin_plugin. 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. two steps, bestie, don't skip the second one:
semanage fcontext -a -t selinux_munin_plugin_exec_t '/srv/selinux_munin_plugin/content(/.*)?'
restorecon -R -v /srv/myselinux_munin_plugin_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. regex stays winning. π
The following file types are defined for selinux_munin_plugin:
selinux_munin_plugin_exec_tβ set files with theselinux_munin_plugin_exec_ttype, if you want to transition an executable to theselinux_munin_plugin_tdomain.selinux_munin_plugin_tmp_tβ set files with theselinux_munin_plugin_tmp_ttype, if you want to store selinux munin plugin temporary files in the/tmpdirectories.
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. so likeβ¦chconis the temporary tattoo andsemanage fcontext+restoreconis the real one. iykyk. β
π₯ COMMANDS
semanage fcontext can also be used to manipulate default file context mappings.
semanage permissive can also be used to manipulate whether or not a process type is permissive.
semanage module can also be used to enable/disable/install/remove policy modules.
semanage boolean can also be used to manipulate the booleans. (yes, the switches from before β this is the remote control.)
system-config-selinux is a GUI tool available to customize SELinux policy settings. for when you want the clicky version. π±οΈβ¨
π AUTHOR
This manual page was auto-generated using sepolicy manpage. a bot wrote this. she's doing great. π€π
π SEE ALSO
selinux(8), selinux_munin_plugin(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)
and that's the whole page, bestie!! π¦ one last lil sign-off for the record books: this was selinux_munin_plugin, dated 26-10-06, living in the selinux...selinux(8) section. 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