ricci_selinux(8)
π ricci_selinux(8) β the ricci girlies' guide to SELinux
okay so this is the manual page for ricci_selinux (like, the ricci_selinux(8) one, from the ricci policy section, bestie β¨) β Security Enhanced Linux Policy for the ricci processes. yes it's a mouthful. no we're not skipping it. let's go π
πΈ NAME πΈ
ricci_selinux β Security Enhanced Linux Policy for the ricci processes. that's it. that's the whole name section. she's concise π
β¨ DESCRIPTION β¨
Security-Enhanced Linux secures the ricci processes via flexible mandatory access control. like, MAC but not the makeup kind (well, kinda the makeup kind β it's a whole look for your processes π).
The ricci processes execute with the ricci_t SELinux type. You can check if you have these processes running by executing the ps command with the -Z qualifier.
For example:
ps -eZ | grep ricci_t
literally just vibe-check your processes, iykyk π¦
πͺ ENTRYPOINTS πͺ
The ricci_t SELinux type can be entered via the bin_t, ricci_exec_t, usr_t file types.
The default entrypoint paths for the ricci_t domain are the following:
All executables with the default executable label, usually stored in /usr/bin and /usr/sbin. Then, bestie, here's the full list (yes, all of it, don't skip π):
/usr/bin/ricci/opt/.*/usr/.*/hana(/.*)?/emul/.*/export(/.*)?/ostree(/.*)?/usr/doc(/.*)?/lib(/.*)?/usr/inclu.e(/.*)?/usr/share/rpm(/.*)?/usr/share/doc(/.*)?/README.*/usr/lib/modules(/.*)/vmlinuz/usr/lib/modules(/.*)/sysctl.conf/usr/lib/modules(/.*)/initramfs.img/usr/lib/sysimage(/.*)?/usr/lib/ostree-boot(/.*)?/opt/usr/emul
π PROCESS TYPES π
SELinux defines process types (domains) for each process running on the system.
You can see the context of a process using the -Z option to ps.
Policy governs the access confined processes have to files. SELinux ricci policy is very flexible, allowing users to setup their ricci processes in as secure a method as possible. slay π₯
The following process types are defined for ricci:
ricci_tricci_modcluster_tricci_modclusterd_tricci_modlog_tricci_modrpm_tricci_modservice_tricci_modstorage_t
Note:semanage permissive -a ricci_tcan be used to make the process typericci_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so like, she's off the hook but the receipts still exist π
π BOOLEANS π
SELinux policy is customizable based on least access required. ricci policy is extremely flexible and has several booleans that allow you to manipulate the policy and run ricci 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
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
not me listing booleans like a playlist π§π
π¦ PORT TYPES π¦
SELinux defines port types to represent TCP and UDP ports.
You can see the types associated with a port by using the following command:
semanage port -l
Policy governs the access confined processes have to these ports. SELinux ricci policy is very flexible, allowing users to setup their ricci processes in as secure a method as possible.
The following port types are defined for ricci:
ricci_modcluster_port_tβ Default Defined Ports:tcp 16851,udp 16851ricci_port_tβ Default Defined Ports:tcp 11111,udp 11111
ports are literally her love language β
π MANAGED FILES π
The SELinux process type ricci_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 said "she can come in" but DAC said "check the guest list first" π
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
faillog_t/var/log/btmp.*/run/faillock(/.*)?/var/log/faillog.*/var/log/tallylog.*
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
ricci_tmp_tβ no default paths listed, she's mysterious like that π§ricci_var_lib_t/var/lib/ricci(/.*)?
ricci_var_run_t/run/ricci.pid
root_t/sysroot/.aleph-version.json/sysroot/ostree/deploy/.*-atomic/deploy(/.*)?//initrd/var/lib/ntp
systemd_passwd_var_run_t/run/systemd/ask-password(/.*)?/run/systemd/ask-password-block(/.*)?
wtmpdb_journal_t/var/lib/wtmpdb/wtmp.db-journal
wtmpdb_t/var/lib/wtmpdb(/.*)?
π 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. SELinux ricci policy is very flexible, allowing users to setup their ricci processes in as secure a method as possible.
β STANDARD FILE CONTEXT β
SELinux defines the file context types for the ricci. If you wanted to store files with these types in a different paths, you need to execute the semanage command to specify alternate labeling and then use restorecon to put the labels on disk. periodt π
semanage fcontext -a -t ricci_exec_t '/srv/ricci/content(/.*)?'
restorecon -R -v /srv/myricci_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. regex girlies rise π«Ά
The following file types are defined for ricci:
ricci_exec_tβ Set files with thericci_exec_ttype, if you want to transition an executable to thericci_tdomain.ricci_initrc_exec_tβ Set files with thericci_initrc_exec_ttype, if you want to transition an executable to thericci_initrc_tdomain.ricci_modcluster_exec_tβ Set files with thericci_modcluster_exec_ttype, if you want to transition an executable to thericci_modcluster_tdomain.ricci_modcluster_var_lib_tβ Set files with thericci_modcluster_var_lib_ttype, if you want to store the ricci modcluster files under the/var/libdirectory.ricci_modcluster_var_log_tβ Set files with thericci_modcluster_var_log_ttype, if you want to treat the data as ricci modcluster var log data, usually stored under the/var/logdirectory.ricci_modcluster_var_run_tβ Set files with thericci_modcluster_var_run_ttype, if you want to store the ricci modcluster files under the/runor/var/rundirectory.- Paths:
/run/clumond.sock,/run/modclusterd.pid
- Paths:
ricci_modclusterd_exec_tβ Set files with thericci_modclusterd_exec_ttype, if you want to transition an executable to thericci_modclusterd_tdomain.ricci_modclusterd_tmpfs_tβ Set files with thericci_modclusterd_tmpfs_ttype, if you want to store ricci modclusterd files on a tmpfs file system.ricci_modlog_exec_tβ Set files with thericci_modlog_exec_ttype, if you want to transition an executable to thericci_modlog_tdomain.ricci_modrpm_exec_tβ Set files with thericci_modrpm_exec_ttype, if you want to transition an executable to thericci_modrpm_tdomain.ricci_modservice_exec_tβ Set files with thericci_modservice_exec_ttype, if you want to transition an executable to thericci_modservice_tdomain.ricci_modstorage_exec_tβ Set files with thericci_modstorage_exec_ttype, if you want to transition an executable to thericci_modstorage_tdomain.ricci_modstorage_lock_tβ Set files with thericci_modstorage_lock_ttype, if you want to treat the files as ricci modstorage lock data, stored under the/var/lockdirectory.ricci_tmp_tβ Set files with thericci_tmp_ttype, if you want to store ricci temporary files in the/tmpdirectories.ricci_var_lib_tβ Set files with thericci_var_lib_ttype, if you want to store the ricci files under the/var/libdirectory.ricci_var_log_tβ Set files with thericci_var_log_ttype, if you want to treat the data as ricci var log data, usually stored under the/var/logdirectory.ricci_var_run_tβ Set files with thericci_var_run_ttype, if you want to store the ricci files under the/runor/var/rundirectory.
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, bestie β know the difference π
π οΈ 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 bestie, a GUI. for the mouse girlies π±οΈπ
π AUTHOR π
This manual page was auto-generated using sepolicy manpage. (so if the vibes are immaculate but the prose is auto-generatedβ¦ yeah, blame the robot, not me πΈ)
π SEE ALSO π
selinux(8), ricci(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8), ricci_modcluster_selinux(8), ricci_modcluster_selinux(8), ricci_modclusterd_selinux(8), ricci_modclusterd_selinux(8), ricci_modlog_selinux(8), ricci_modlog_selinux(8), ricci_modrpm_selinux(8), ricci_modrpm_selinux(8), ricci_modservice_selinux(8), ricci_modservice_selinux(8), ricci_modstorage_selinux(8), ricci_modstorage_selinux(8)
(yes, the duplicates are in the original. no, I'm not merging them. keep every single detail, that's the rule π)
that's the whole page, bestie π source ricci, version 26-10-06, dated 26-10-06 β go forth and label responsibly, and remember: no cap, restorecon -R -v is your bestie fr fr πβ¨π¦
π¦ 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