rhc_wor..._selinux(8)
π rhc_wor..._selinux(8) β aka the rhc_worker_playbook_selinux glow-up π
okay bestie, sit down, hydrate, because we're about to talk about the SELinux policy page for rhc_worker_playbook_selinux and honestly? it's giving secure. mandatory access control but make it cute. let's go π¦
β¨ NAME β¨
rhc_worker_playbook_selinux β Security Enhanced Linux Policy for the rhc_worker_playbook processes π
πΈ DESCRIPTION πΈ
Security-Enhanced Linux secures the rhc_worker_playbook processes via flexible mandatory access control. no cap, that's the whole vibe. π
The rhc_worker_playbook processes execute with the rhc_worker_playbook_t SELinux type. wanna check if you've got these processes running? run the ps command with the -Z qualifier, easy peasy.
For example:
ps -eZ | grep rhc_worker_playbook_t
π ENTRYPOINTS π
The rhc_worker_playbook_t SELinux type can be entered via the rhc_worker_playbook_exec_t file type. that's the doorway, the portal, the entrance. π
The default entrypoint paths for the rhc_worker_playbook_t domain are literally these:
/usr/libexec/rhc/rhc-worker-playbook.worker
π PROCESS TYPES π
SELinux defines process types (domains) for each process running on the system. every process gets a lil label, it's very 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 rhc_worker_playbook policy is very flexible, allowing users to setup their rhc_worker_playbook processes in as secure a method as possible. obsessed.
The following process types are defined for rhc_worker_playbook:
rhc_worker_playbook_t
Note:semanage permissive -a rhc_worker_playbook_tcan be used to make the process typerhc_worker_playbook_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so like, it's chill but it's still watching. π
π BOOLEANS π
SELinux policy is customizable based on least access required. the rhc_worker_playbook policy is extremely flexible and has several booleans that allow you to manipulate the policy and run rhc_worker_playbook with the tightest access possible. tightest access = cleanest fit, periodt. β¨
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
π¦ FILE CONTEXTS π¦
SELinux requires files to have an extended attribute to define the file type. it's the file's whole identity, honestly.
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 rhc_worker_playbook policy is very flexible, allowing users to setup their rhc_worker_playbook processes in as secure a method as possible.
π STANDARD FILE CONTEXT π
SELinux defines the file context types for the rhc_worker_playbook, so 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. relabeling arc, iconic. π
semanage fcontext -a -t rhc_worker_playbook_exec_t '/srv/rhc_worker_playbook/content(/.*)?'
restorecon -R -v /srv/myrhc_worker_playbook_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. regex girlies rise π
The following file types are defined for rhc_worker_playbook:
rhc_worker_playbook_exec_tβ Set files with therhc_worker_playbook_exec_ttype, if you want to transition an executable to therhc_worker_playbook_tdomain.rhc_worker_playbook_log_tβ Set files with therhc_worker_playbook_log_ttype, if you want to treat the data as rhc worker playbook log data, usually stored under the/var/logdirectory.rhc_worker_playbook_tmp_tβ Set files with therhc_worker_playbook_tmp_ttype, if you want to store rhc worker playbook temporary files in the/tmpdirectories.rhc_worker_playbook_tmpfs_tβ Set files with therhc_worker_playbook_tmpfs_ttype, if you want to store rhc worker playbook files on a tmpfs file system.
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 is cute for a test run, permanent needs the whole database moment, iykyk. π
β 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-selinuxis a GUI tool available to customize SELinux policy settings. clicky-clicky slay. π±οΈβ¨
π«Ά AUTHOR π«Ά
This manual page was auto-generated using sepolicy manpage. the robots did this one, we just gave it a personality. π
π SEE ALSO π
selinux(8), rhc_worker_playbook(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)
and that's the whole page bestie!! π this gem was brought to you by rhc_worker_playbook, dated 26-09-29, and it lives under the manual name rhc_wor..._selinux(8). go forth and label responsibly, ily, bye!! ππ
π
π¦ where this page comes from
- fedora 44: selinux-policy-doc 44.11-1.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms