roundup_selinux(8)

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

πŸ’… roundup_selinux(8)

okay so bestie, welcome to the roundup_selinux page β€” it's a (8) manual page, part of the SELinux Policy roundup lineup, and it's literally all about how SELinux keeps your roundup processes on a leash. no cap. πŸŽ€


✨ NAME ✨

roundup_selinux β€” Security Enhanced Linux Policy for the roundup processes πŸ¦‹


🌸 DESCRIPTION 🌸

Security-Enhanced Linux secures the roundup processes via flexible mandatory access control. she's strict but she's fair, yk?

the roundup processes execute with the roundup_t SELinux type. you can check if you've got these processes running by executing the ps command with the -Z qualifier.

for example:

ps -eZ | grep roundup_t

πŸšͺ ENTRYPOINTS πŸšͺ

the roundup_t SELinux type can be entered via the roundup_exec_t file type. that's the doorway bestie, the one and only.

the default entrypoint paths for the roundup_t domain are the following:

/usr/bin/roundup-server

πŸ‘‘ PROCESS TYPES πŸ‘‘

SELinux defines process types (domains) for each process running on the system. yes, every single one gets its own little 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 roundup policy is very flexible, allowing users to setup their roundup processes in as secure a method as possible. iconic behaviour honestly.

the following process types are defined for roundup:

roundup_t
Note: semanage permissive -a roundup_t can be used to make the process type roundup_t permissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. it's giving "i'm not mad i'm just logging" 😭

🎚️ BOOLEANS 🎚️

SELinux policy is customizable based on least access required. roundup policy is extremely flexible and has several booleans that allow you to manipulate the policy and run roundup with the tightest access possible. slay, minimalism.

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

if you want to allow confined applications to use nscd shared memory, you must turn on the nscd_use_shm boolean. enabled by default.

setsebool -P nscd_use_shm 1

πŸ“‚ MANAGED FILES πŸ“‚

the SELinux process type roundup_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 isn't doing all the work 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

root_t

/sysroot/.aleph-version.json
/sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
/
/initrd
/var/lib/ntp

roundup_var_lib_t

/var/lib/roundup(/.*)?

roundup_var_run_t

(no default paths listed, she's a mystery 🧚)


🏷️ FILE CONTEXTS 🏷️

SELinux requires files to have an extended attribute to define the file type. it's like a name tag but permanent-ish.

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

⭐ STANDARD FILE CONTEXT ⭐

SELinux defines the file context types for the roundup, 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 roundup_exec_t '/srv/roundup/content(/.*)?'
restorecon -R -v /srv/myroundup_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. regex girlies rise 🌈

the following file types are defined for roundup:

  • roundup_exec_t β€” set files with the roundup_exec_t type if you want to transition an executable to the roundup_t domain.
  • roundup_initrc_exec_t β€” set files with the roundup_initrc_exec_t type if you want to transition an executable to the roundup_initrc_t domain.
  • roundup_var_lib_t β€” set files with the roundup_var_lib_t type if you want to store the roundup files under the /var/lib directory.
  • roundup_var_run_t β€” set files with the roundup_var_run_t type if you want to store the roundup files under the /run or /var/run directory.
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. so like, chcon is the temporary tattoo and semanage fcontext is the real one. πŸ’…

πŸ› οΈ 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. yes, all the semanage sub-commands, she contains multitudes. πŸ’–

system-config-selinux is a GUI tool available to customize SELinux policy settings. point-and-click queen πŸ‘‘


✍️ AUTHOR ✍️

this manual page was auto-generated using sepolicy manpage. not me being literally machine-made 😭✨


πŸ”— SEE ALSO πŸ”—

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


🫢 and that's the whole page bestie! this was roundup, dated 26-10-06, presented as roundup_selinux(8) β€” go forth and label responsibly. periodt. πŸ’œπŸŽ€

πŸ“¦ where this page comes from