SPEECH_DISPATCHER_SELINUX(8)
π speech_dispatcher_selinux β the SELinux glow-up for speech_dispatcher π
okay so bestie, this is section 8 of the manual (a sysadmin-page, iykyk), and it's literally all about the SELinux policy that wraps around the speech_dispatcher processes. no cap, it's giving "mandatory access control but make it cute." β¨
πΈ NAME πΈ
speech_dispatcher_selinux β the Security Enhanced Linux Policy for the speech_dispatcher processes. that's it, that's the whole vibe. π
π¦ DESCRIPTION π¦
Security-Enhanced Linux secures the speech_dispatcher processes via flexible mandatory access control. yes bestie, mandatory β not the optional kind, the "you WILL behave" kind. π
The speech_dispatcher processes execute with the speech_dispatcher_t SELinux type. wanna check if you've got these processes running? just run the ps command with the -Z qualifier. super simple.
for example:
ps -eZ | grep speech_dispatcher_t
literally that's it. go off. π₯
πͺ ENTRYPOINTS πͺ
The speech_dispatcher_t SELinux type can be entered via the speech_dispatcher_exec_t file type. that's the door, bestie, and there's exactly one key. ποΈ
the default entrypoint paths for the speech_dispatcher_t domain are, and I cannot stress this enough, just these:
/usr/bin/speech-dispatcher
one path. iconic behavior honestly. π
𧬠PROCESS TYPES π§¬
SELinux defines process types (domains) for each process running on the system. yes, every single one gets its own little domain. main character energy for every process. β¨
you can see the context of a process using the -Z option to ps. again with the -Z! it's the moment.
Policy governs the access confined processes have to files. the SELinux speech_dispatcher policy is very flexible, allowing users to set up their speech_dispatcher processes in as secure a method as possible. flexible AND secure? we love a multitasker. π«Ά
the following process types are defined for speech_dispatcher:
speech_dispatcher_t
Note:semanage permissive -a speech_dispatcher_tcan be used to make the process typespeech_dispatcher_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so like, it's not mad, it's just disappointed and writing it all down in its diary. ππ
ποΈ BOOLEANS ποΈ
SELinux policy is customizable based on least access required. speech_dispatcher policy is extremely flexible and has several booleans that allow you to manipulate the policy and run speech_dispatcher with the tightest access possible. tightest access = the most locked-down slay. π
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 already on by default btw, so like, you're already winning. π
π MANAGED FILES π
The SELinux process type speech_dispatcher_t can manage files labeled with the following file types. the paths listed are the default paths for these file types. β οΈ Note: the process's UID still needs to have DAC permissions β SELinux is not out here overriding the classic permission system, bestie, they're a team. π€
cache_home_t
/root/.cache(/.*)?
/home/[^/]+/.nv(/.*)?
/home/[^/]+/.cache(/.*)?
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
speech_dispatcher_home_t
(no default paths listed β it's a vibe, not a location π)
speech_dispatcher_log_t
/var/log/speech-dispatcher(/.*)?
speech_dispatcher_tmp_t
(no default paths listed πΈ)
speech_dispatcher_tmpfs_t
(no default paths listed either π¦)
π·οΈ FILE CONTEXTS π·οΈ
SELinux requires files to have an extended attribute to define the file type. yes, files get labels. name tags but for security. π
you can see the context of a file using the -Z option to ls. third time's the charm with -Z, we're obsessed. β¨
Policy governs the access confined processes have to these files. the SELinux speech_dispatcher policy is very flexible, allowing users to set up their speech_dispatcher processes in as secure a method as possible. (yes it's the same line as before, the manpage said it twice, so it stays twice. consistency queen. π)
π§Ύ STANDARD FILE CONTEXT π§Ύ
SELinux defines the file context types for the speech_dispatcher. 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 speech_dispatcher_exec_t '/srv/speech_dispatcher/content(/.*)?'
restorecon -R -v /srv/myspeech_dispatcher_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. regex girlies rise. π§
the following file types are defined for speech_dispatcher:
speech_dispatcher_exec_tβ set files with thespeech_dispatcher_exec_ttype if you want to transition an executable to thespeech_dispatcher_tdomain.speech_dispatcher_home_tβ set files with thespeech_dispatcher_home_ttype if you want to store speech dispatcher files in the user's home directory.speech_dispatcher_log_tβ set files with thespeech_dispatcher_log_ttype if you want to treat the data as speech dispatcher log data, usually stored under the/var/logdirectory.speech_dispatcher_tmp_tβ set files with thespeech_dispatcher_tmp_ttype if you want to store speech dispatcher temporary files in the/tmpdirectories.speech_dispatcher_tmpfs_tβ set files with thespeech_dispatcher_tmpfs_ttype if you want to store speech dispatcher files on atmpfsfile system.speech_dispatcher_unit_file_tβ set files with thespeech_dispatcher_unit_file_ttype if you want to treat the files as speech dispatcher unit content.
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 cute lil temporary tattoo,semanage fcontextis the real ink. choose wisely. π
π οΈ 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.
system-config-selinux is a GUI tool available to customize SELinux policy settings. yes, a whole GUI, for the girlies who prefer clicking over typing. π±οΈβ¨
βοΈ AUTHOR βοΈ
This manual page was auto-generated using sepolicy manpage. a bot wrote it, and honestly? it ate. π₯
π SEE ALSO π
selinux(8), speech_dispatcher(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)
and that's the whole page, bestie π this one came from the speech_dispatcher source, dated 26-10-06, and it's the speech_d...r_selinux(8) page β 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