jockey_selinux(8)
π jockey_selinux(8) β SELinux Policy for jockey π
π NAME π
jockey_selinux β the Security Enhanced Linux Policy manual page for the jockey processes. Thatβs the whole name, bestie. π
β¨ DESCRIPTION β¨
Security-Enhanced Linux secures the jockey processes via flexible mandatory access control. Itβs literally MAC but make it flexible, no cap. π¦
The jockey processes execute with the jockey_t SELinux type. Wanna check if you have these processes running? Run the ps command with the -Z qualifier, like this:
ps -eZ | grep jockey_t
πΈ ENTRYPOINTS πΈ
The jockey_t SELinux type can be entered via the jockey_exec_t file type. Itβs giving βthis is the doorwayβ energy. πͺβ¨
The default entrypoint paths for the jockey_t domain are the following:
/usr/share/jockey/jockey-backend
π PROCESS TYPES π
SELinux defines process types (domains) for each process running on the system. Yes, every process gets a little domain vibe. π«Ά
You can see the context of a process using the -Z option to ps.
Policy governs the access confined processes have to files. SELinux jockey policy is very flexible, allowing users to set up their jockey processes in as secure a method as possible. Secure but flexible? We love range. π
The following process types are defined for jockey:
jockey_t
Note:semanage permissive -a jockey_tcan be used to make the process typejockey_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. So like, permissive does not mean silent β the receipts are still there. π
π BOOLEANS π
SELinux policy is customizable based on least access required. jockey policy is extremely flexible and has several booleans that allow you to manipulate the policy and run jockey with the tightest access possible. Tightest access possible = main character security. π
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
π¦ MANAGED FILES π¦
The SELinux process type jockey_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. SELinux is not out here overriding DAC, bestie. π
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
jockey_cache_t
/var/cache/jockey(/.*)?
jockey_tmpfs_t
No default paths listed here for this one β itβs just the type. β¨
root_t
/sysroot/.aleph-version.json
/sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
/
/initrd
/var/lib/ntp
π 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 jockey policy is very flexible, allowing users to set up their jockey processes in as secure a method as possible. Same secure-but-flexible vibe, now with files. π
π« EQUIVALENCE DIRECTORIES π«
jockey policy stores data with multiple different file context types under the /var/log/jockey directory. If you would like to store the data in a different directory, you can use the semanage command to create an equivalence mapping. If you wanted to store this data under the /srv directory, you would execute the following command:
semanage fcontext -a -e /var/log/jockey /srv/jockey
restorecon -R -v /srv/jockey
π STANDARD FILE CONTEXT π
SELinux defines the file context types for jockey. 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 jockey_exec_t '/srv/jockey/content(/.*)?'
restorecon -R -v /srv/myjockey_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. Regex girlie behavior, honestly. π§
The following file types are defined for jockey:
jockey_cache_tβ Set files with thejockey_cache_ttype if you want to store the files under the/var/cachedirectory.jockey_exec_tβ Set files with thejockey_exec_ttype if you want to transition an executable to thejockey_tdomain.jockey_tmpfs_tβ Set files with thejockey_tmpfs_ttype if you want to store jockey files on atmpfsfile system.jockey_var_log_tβ Set files with thejockey_var_log_ttype if you want to treat the data as jockey var log data, usually stored under the/var/logdirectory.
Paths:
/var/log/jockey(/.*)?, /var/log/jockey.log.*
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, choose your fighter. π
β‘ 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.
π AUTHOR π
This manual page was auto-generated using sepolicy manpage. Auto-generated and still serving looks. π
π₯ SEE ALSO π₯
selinux(8), jockey(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)
Cute sign-off time: this page is source/version jockey, dated 26-10-06, and it lives under jockey_selinux(8) β bye bestie, stay secure and slay π
β¨
π¦ 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