redfish_f...r_selinux(8)

πŸ“¦
version 44.11 Β· 4 versions
, in fedora 44

✨ NAME ✨

okay bestie, gather round πŸ’– this is redfish_finder_selinux β€” the Security Enhanced Linux Policy page for the redfish_finder processes. yes the file is called redfish_f...r_selinux(8) because someone at the man-page-naming desk was going through it, but the manual name is redfish_finder_selinux, and now you know 🫢


🌸 DESCRIPTION 🌸

Security-Enhanced Linux secures the redfish_finder processes via flexible mandatory access control. that's the whole vibe: SELinux is the bouncer, and it is NOT letting just anyone in πŸ’…

The redfish_finder processes execute with the redfish_finder_t SELinux type. wanna check if you've got these processes running? run the ps command with the -Z qualifier, like so:

ps -eZ | grep redfish_finder_t

iconic. simple. slay. ✨


πŸ¦‹ ENTRYPOINTS πŸ¦‹

so the redfish_finder_t SELinux type can be entered via the redfish_finder_exec_t file type. that's the doorway, the entrance, the main character moment πŸšͺ✨

the default entrypoint paths for the redfish_finder_t domain are literally just:

  • /usr/bin/redfish-finder

πŸ‘‘ PROCESS TYPES πŸ‘‘

SELinux defines process types (domains) for each process running on the system. yes, every process gets its own little identity, very main character of them 🌈

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 redfish_finder policy is very flexible, allowing users to setup their redfish_finder processes in as secure a method as possible.

The following process types are defined for redfish_finder:

  • redfish_finder_t
Note: semanage permissive -a redfish_finder_t can be used to make the process type redfish_finder_t permissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so like, it stops saying no, but it still writes down everything you did in its diary πŸ““ no cap.

πŸ’… BOOLEANS πŸ’…

SELinux policy is customizable based on least access required. the redfish_finder policy is extremely flexible and has several booleans that allow you to manipulate the policy and run redfish_finder with the tightest access possible. booleans are basically the on/off switches of the SELinux world πŸŽ€

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 redfish_finder_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. yes, SELinux is not out here doing your DAC's homework for you, 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
  • net_conf_t
    • /etc/hosts[^/]*
    • /etc/yp.conf.*
    • /etc/denyhosts.*
    • /etc/hosts.deny.*
    • /run/cloud-init(/.*)?
    • /etc/resolv.conf.*
    • /etc/.resolv.conf.*
    • /etc/resolv-secure.conf.*
    • /run/systemd/network(/.*)?
    • /etc/sysconfig/networking(/.*)?
    • /etc/sysconfig/network-scripts(/.*)?
    • /run/NetworkManager/resolv.conf.*
    • /etc/sysconfig/network-scripts/.*resolv.conf
    • /run/NetworkManager/no-stub-resolv.conf.*
    • /etc/ethers
    • /etc/ntp.conf
    • /run/systemd/resolve/resolv.conf
    • /run/systemd/resolve/stub-resolv.conf
  • root_t
    • /sysroot/.aleph-version.json
    • /sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
    • /
    • /initrd

🌈 FILE CONTEXTS 🌈

SELinux requires files to have an extended attribute to define the file type. it's giving ✨commitment issues✨ but for metadata.

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 redfish_finder policy is very flexible allowing users to setup their redfish_finder processes in as secure a method as possible.

⭐ STANDARD FILE CONTEXT ⭐

SELinux defines the file context types for the redfish_finder. 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.

semanage fcontext -a -t redfish_finder_exec_t
'/srv/redfish_finder/content(/.*)?'
restorecon -R -v /srv/myredfish_finder_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. regex girlies rise up 🧚

The following file types are defined for redfish_finder:

  • redfish_finder_exec_t β€” Set files with the redfish_finder_exec_t type, if you want to transition an executable to the redfish_finder_t domain.
Note: File context can be temporarily modified with the chcon command. If you want to permanently change the file context you need to use the semanage fcontext command. This will modify the SELinux labeling database. You will need to use restorecon to apply the labels. temporary vs permanent, the eternal struggle πŸ’€

πŸ”₯ 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.

🫢 AUTHOR 🫢

This manual page was auto-generated using sepolicy manpage. yes she's a bot-built baddie, and she ate πŸ’…


🌟 SEE ALSO 🌟


and that's the whole page bestie, you understood it fr fr πŸ’– this was redfish_finder, dated 26-09-29, living in the redfish_f...r_selinux(8) section of the manual. go forth and label responsibly πŸ‘‘βœ¨πŸ’œ

πŸ“¦ where this page comes from