soundd_selinux(8)
β¨ NAME β¨
okay so this is soundd_selinux β the man page for the Security Enhanced Linux Policy for the soundd processes π (and yes it's a soundd_selinux(8) page, manual section 8, we're in the admin zone bestie)
π DESCRIPTION π
So like, Security-Enhanced Linux secures the soundd processes via flexible mandatory access control. fr fr, that's the whole vibe β the policy is the main character and it decides what these processes can and can't touch πΈ
The soundd processes execute with the soundd_t SELinux type. Wanna check if you've got these running? Just run the ps command with the -Z qualifier girlie:
ps -eZ | grep soundd_t
slay, now you can see everything π
πͺ ENTRYPOINTS πͺ
The soundd_t SELinux type can be entered via the soundd_exec_t file type π
The default entrypoint paths for the soundd_t domain are:
/usr/bin/nasd, /usr/bin/yiff, /usr/bin/gpe-soundserver
π― PROCESS TYPES π―
SELinux defines process types (domains) for each process running on the system. bestie that's just how it is β¨
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 soundd policy is very flexible, allowing users to set up their soundd processes in as secure a method as possible π₯
The following process types are defined for soundd:
soundd_t
Note:semanage permissive -a soundd_tcan be used to make the process typesoundd_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated π important!! permissive β invisible, the receipts are still there.
ποΈ BOOLEANS ποΈ
SELinux policy is customizable based on least access required. The soundd policy is extremely flexible and has several booleans that let you manipulate the policy and run soundd with the tightest access possible π
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
π PORT TYPES π
SELinux defines port types to represent TCP and UDP ports π
You can see the types associated with a port by using this command:
semanage port -l
Policy governs the access confined processes have to these ports. The SELinux soundd policy is very flexible, allowing users to set up their soundd processes in as secure a method as possible β
The following port types are defined for soundd:
soundd_port_t
Default Defined Ports:
tcp 8000,9433,16001
π MANAGED FILES π
The SELinux process type soundd_t can manage files labeled with the following file types. The paths listed are the default paths for these file types. Heads up though β the process's UID still needs to have DAC permissions π
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
soundd_state_t
/var/state/yiff(/.*)?
soundd_tmp_t
(yup, it's a type β no default paths listed here, that's the whole entry π«Ά)
soundd_tmpfs_t
(also just vibes β no paths listed π)
soundd_var_run_t
/run/nasd(/.*)?
/run/yiff-[0-9]+.pid
ποΈ FILE CONTEXTS ποΈ
SELinux requires files to have an extended attribute to define the file type π
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 soundd policy is very flexible, allowing users to set up their soundd processes in as secure a method as possible πΈ
π STANDARD FILE CONTEXT π
SELinux defines the file context types for the soundd. 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 soundd_exec_t '/srv/soundd/content(/.*)?'
restorecon -R -v /srv/mysoundd_content
Note: SELinux often uses regular expressions to specify labels that match multiple files π§
The following file types are defined for soundd:
soundd_etc_t
- Set files with the
soundd_etc_ttype if you want to storesounddfiles in the/etcdirectories.
Paths:
/etc/nas(/.*)?, /etc/yiff(/.*)?
soundd_exec_t
- Set files with the
soundd_exec_ttype if you want to transition an executable to thesoundd_tdomain.
Paths:
/usr/bin/nasd, /usr/bin/yiff, /usr/bin/gpe-soundserver
soundd_initrc_exec_t
- Set files with the
soundd_initrc_exec_ttype if you want to transition an executable to thesoundd_initrc_tdomain.
soundd_state_t
- Set files with the
soundd_state_ttype if you want to treat the files assounddstate data.
soundd_tmp_t
- Set files with the
soundd_tmp_ttype if you want to storesounddtemporary files in the/tmpdirectories.
soundd_tmpfs_t
- Set files with the
soundd_tmpfs_ttype if you want to storesounddfiles on atmpfsfile system.
soundd_var_run_t
- Set files with the
soundd_var_run_ttype if you want to store thesounddfiles under the/runor/var/rundirectory.
Paths:
/run/nasd(/.*)?, /run/yiff-[0-9]+.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 π no skipping steps bestie.
π» 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 port can also be used to manipulate the port definitions π
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 GUI, for the mouse girlies π«Ά)
βοΈ AUTHOR βοΈ
This manual page was auto-generated using sepolicy manpage. (not me writing this by hand, the robot did it π)
π SEE ALSO π
selinux(8), soundd(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)
and that's the whole page bestie π soundd, dated 26-10-06, soundd_selinux(8) β go forth and label responsibly πβ¨
π¦ 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