openshif..._selinux(8)

πŸ“¦
version 20250627+git412.dbf877ab7 Β· 7 versions
, in opensuse-leap 16.0

πŸ’… openshift_net_read_selinux β€” hey bestie, let's talk SELinux

okay so real talk: this is the openshift_net_read_selinux(8) page β€” the Security Enhanced Linux policy situation for the openshift_net_read processes. it's giving "niche but important" and honestly? iconic. ✨


πŸŽ€ NAME πŸŽ€

openshift_net_read_selinux β€” the Security Enhanced Linux Policy for the openshift_net_read processes. that's it, that's the whole vibe.


🌸 DESCRIPTION 🌸

Security-Enhanced Linux secures the openshift_net_read processes via flexible mandatory access control. lowkey powerful, no cap. πŸ’ͺ

the openshift_net_read processes execute with the openshift_net_read_t SELinux type. wanna check if you've got these processes running? just run ps with the -Z qualifier, easy.

for example:

ps -eZ | grep openshift_net_read_t

πŸ¦‹ ENTRYPOINTS πŸ¦‹

the openshift_net_read_t SELinux type can be entered via the openshift_net_read_exec_t file type. that's the doorway, bestie. πŸšͺ

the default entrypoint paths for the openshift_net_read_t domain are literally:

/usr/bin/oo-lists-ports

πŸ‘‘ PROCESS TYPES πŸ‘‘

SELinux defines process types (domains) for each process running on the system. every process gets a little identity, cute right?

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 openshift_net_read policy is very flexible, allowing users to setup their openshift_net_read processes in as secure a method as possible. slay. πŸ”₯

the following process types are defined for openshift_net_read:

  • openshift_net_read_t
Note: semanage permissive -a openshift_net_read_t can be used to make the process type openshift_net_read_t permissive. 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 openshift_net_read policy is extremely flexible and has several booleans that allow you to manipulate the policy and run openshift_net_read with the tightest access possible. bespoke security, we love to see it. πŸŽ€

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. yeah, files have labels now, it's a whole thing.

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 openshift_net_read policy is very flexible, allowing users to setup their openshift_net_read processes in as secure a method as possible. (yes bestie, they said it twice, it's that flexible πŸ’…)

⭐ STANDARD FILE CONTEXT ⭐

SELinux defines the file context types for the openshift_net_read. 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. like so:

semanage fcontext -a -t openshift_net_read_exec_t '/srv/openshift_net_read/content(/.*)?'
restorecon -R -v /srv/myopenshift_net_read_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. regex girlies rise πŸ™ˆ

the following file types are defined for openshift_net_read:

  • openshift_net_read_exec_t β€” Set files with the openshift_net_read_exec_t type, if you want to transition an executable to the openshift_net_read_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, know the difference bestie, it'll save you 😭

🫢 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. (a GUI!! for the girlies who like clicking 🌸)

πŸ’œ AUTHOR πŸ’œ

This manual page was auto-generated using sepolicy manpage. robot-written, human-approved ✨


πŸ“ SEE ALSO πŸ“

selinux(8), openshift_net_read(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)


k that's the whole page bestie, go forth and label things correctly πŸ’…βœ¨

sign-off szn: this was openshift_net_read, dated 26-10-06, from the openshif..._selinux(8) manual. mwah 🫢

πŸ“¦ where this page comes from