efsutils_selinux(8)
β¨ efsutils_selinux β the SELinux policy for efs-utils, explained π
okay bestie so efsutils_selinux is the Security Enhanced Linux Policy for the efs-utils processes, and we're gonna go through the whole thing together, no skips, no shortcuts, periodt.
πΈ NAME πΈ
efsutils_selinux β Security Enhanced Linux Policy for the efs-utils processes π«Ά
π DESCRIPTION π
Security-Enhanced Linux secures the efs-utils processes via flexible mandatory access control. it's giving strict-but-fair, fr fr.
The efs-utils processes execute with the efsutils_t SELinux type. so if you wanna check whether you've got these processes running, you run the ps command with the -Z qualifier, like this:
ps -eZ | grep efsutils_t
that's it. that's the vibe check. π
πͺ ENTRYPOINTS πͺ
You can enter the efsutils_t SELinux type via the efsutils_exec_t file type. that's the door, bestie πͺβ¨
The default entrypoint paths for the efsutils_t domain are:
/usr/bin/amazon-efs-mount-watchdog
one path, one icon, one legend. π
π PROCESS TYPES π
SELinux defines process types (aka domains) for each process running on the system. every process gets its own little identity, main character energy honestly.
You can see the context of a process using the -Z option to ps.
Policy governs the access confined processes have to files. SELinux efs-utils policy is very flexible, letting users set up their efs-utils processes in as secure a method as possible. we love options.
The following process types are defined for efs-utils:
efsutils_t
Note:semanage permissive -a efsutils_tcan be used to make the process typeefsutils_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so like, it stops blocking you but it still tells on you. π
π BOOLEANS π
SELinux policy is customizable based on least access required. efs-utils policy is extremely flexible and has several booleans that let you manipulate the policy and run efs-utils with the tightest access possible. tightest access = bestie behaviour. π
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
two booleans, both already on, both slaying. β¨
ποΈ MANAGED FILES ποΈ
The SELinux process type efsutils_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 "I'll handle the labels but you still need actual permission, 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
/var/run/crm(/.*)?
/var/run/cman_.*
/var/run/rsctmp(/.*)?
/var/run/aisexec.*
/var/run/heartbeat(/.*)?
/var/run/pcsd-ruby.socket
/var/run/corosync-qnetd(/.*)?
/var/run/corosync-qdevice(/.*)?
/var/run/corosync.pid
/var/run/cpglockd.pid
/var/run/rgmanager.pid
/var/run/cluster/rgmanager.sk
efsutils_log_t
/var/log/amazon/efs(/.*)?
root_t
/sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
/
/initrd
var_run_t
/run/.*
/var/run/.*
/run
/var/run
/var/run
/var/spool/postfix/pid
(yes /var/run shows up twice in that list. that's what the original says, so that's what we're saying. not me editing the source. π)
π·οΈ FILE CONTEXTS π·οΈ
SELinux requires files to have an extended attribute to define the file type. it's the file's little nametag at the party.
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 efs-utils policy is very flexible, letting users set up their efs-utils processes in as secure a method as possible. again. still true. π
β STANDARD FILE CONTEXT β
SELinux defines the file context types for efs-utils. If you wanted to store files with these types in a different path, 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 efsutils_exec_t '/srv/efs-utils/content(/.*)?'
restorecon -R -v /srv/myefs-utils_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. regex girlies, rise. π§
The following file types are defined for efs-utils:
efsutils_exec_t
- Set files with the
efsutils_exec_ttype, if you want to transition an executable to theefsutils_tdomain.
efsutils_log_t
- Set files with the
efsutils_log_ttype, if you want to treat the data as efs-utils log data, usually stored under the/var/logdirectory.
efsutils_unit_file_t
- Set files with the
efsutils_unit_file_ttype, if you want to treat the files as efs-utils 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. sochconis the situationship andsemanage fcontextis the marriage. π
π οΈ 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. point-and-click girlies, this one's for you π±οΈβ¨
βοΈ AUTHOR βοΈ
This manual page was auto-generated using sepolicy manpage. not a human author, just a very productive little script. iconic behaviour honestly.
π SEE ALSO π
selinux(8), efsutils(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)
and that's the whole page, bestie!! π this was the efs-utils manual, dated 23-11-09, and that's a wrap. go forth and label responsibly. πβ¨ππ¦
π¦ where this page comes from
- centos-stream 9: efs-utils-selinux 1.35.1-7.el9 Β· MIT
- fedora 43: efs-utils-selinux 2.0.3-4.fc43 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms