gnomesystemmm_selinux(8)

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

🌸 gnomesystemmm_selinux β€” the SELinux policy glow-up for gnomesystemmm πŸ’…

okay bestie, so this is the manual page for gnomesystemmm_selinux, aka the SELinux Policy for gnomesystemmm. Yes, the name is a mouthful, no, we're not changing it, it's iconic. Sit down, grab a strawberry drink πŸ“, and let's get into it.


✨ NAME ✨

gnomesystemmm_selinux β€” the Security Enhanced Linux Policy for the gnomesystemmm processes 🫢


πŸ’– DESCRIPTION πŸ’–

So, Security-Enhanced Linux secures the gnomesystemmm processes via flexible mandatory access control. That's the whole vibe: flexible, mandatory, access control. Slay.

The gnomesystemmm processes execute with the gnomesystemmm_t SELinux type. Wanna check if you've got these processes running? Just run the ps command with the -Z qualifier, like:

ps -eZ | grep gnomesystemmm_t

That's it. That's the check. Go off. πŸ”₯


πŸšͺ ENTRYPOINTS πŸšͺ

The gnomesystemmm_t SELinux type can be entered via the gnomesystemmm_exec_t file type. Like, that's the door, that's the way in, that's the main character entrance. πŸ‘‘

The default entrypoint paths for the gnomesystemmm_t domain are literally these:

/usr/libexec/kde(3|4)/ksysguardprocesslist_helper, /usr/libexec/gnome-system-monitor-mechanism

🧬 PROCESS TYPES 🧬

SELinux defines process types (domains) for each process running on the system. Cute, organized, very demure.

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 gnomesystemmm policy is very flexible, allowing users to setup their gnomesystemmm processes in as secure a method as possible. Flexible and secure? We love a multitasker.

The following process types are defined for gnomesystemmm:

  • gnomesystemmm_t
Note: semanage permissive -a gnomesystemmm_t can be used to make the process type gnomesystemmm_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 you πŸ‘€ β€” the receipts still exist.

πŸ”˜ BOOLEANS πŸ”˜

SELinux policy is customizable based on least access required. The gnomesystemmm policy is extremely flexible and has several booleans that allow you to manipulate the policy and run gnomesystemmm with the tightest access possible. Tightest access possible is the aesthetic, periodt.

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 enabled by default. We love a low-maintenance queen 🌈


πŸ“ MANAGED FILES πŸ“

The SELinux process type gnomesystemmm_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. Like, SELinux isn't doing everything for you, bestie, do your part.

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

config_home_t

/root/.kde(/.*)?
/root/.xine(/.*)?
/root/.config(/.*)?
/root/.Xdefaults
/home/[^/]+/.kde(/.*)?
/home/[^/]+/.xine(/.*)?
/home/[^/]+/.config(/.*)?
/home/[^/]+/.cache/dconf(/.*)?
/home/[^/]+/.Xdefaults
/run/user/[0-9]+/dconf(/.*)?

config_usr_t

/usr/share/config(/.*)?

root_t

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

That root_t list said / and I felt that. Main character energy fr fr πŸ’€


🏷️ FILE CONTEXTS 🏷️

SELinux requires files to have an extended attribute to define the file type. It's giving "everything needs a little label."

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 gnomesystemmm policy is very flexible, allowing users to setup their gnomesystemmm processes in as secure a method as possible. Yes we're saying it again, it's that flexible, obsessed.

πŸŽ€ STANDARD FILE CONTEXT πŸŽ€

SELinux defines the file context types for the gnomesystemmm, and 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. Two steps, bestie, don't skip the second one.

semanage fcontext -a -t gnomesystemmm_exec_t '/srv/gnomesystemmm/content(/.*)?'
restorecon -R -v /srv/mygnomesystemmm_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. Regex is that girl.

The following file types are defined for gnomesystemmm:

gnomesystemmm_exec_t

  • Set files with the gnomesystemmm_exec_t type, if you want to transition an executable to the gnomesystemmm_t domain.

Paths:

/usr/libexec/kde(3|4)/ksysguardprocesslist_helper,
/usr/libexec/gnome-system-monitor-mechanism
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, choose wisely 🌸

πŸ› οΈ 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 when the terminal is doing too much πŸ’…

✍️ AUTHOR ✍️

This manual page was auto-generated using sepolicy manpage .

(Not me being auto-generated and still having more personality than half the manpages out there 😭)


πŸ‘€ SEE ALSO πŸ‘€

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


okay that's the whole page, you ate that reading it, honestly 🫢 go forth and label your files correctly.

cute little sign-off: this page is gnomesystemmm, version/date 26-10-06, and it lives in gnomesystemmm_selinux(8). mwah πŸ’‹

πŸ“¦ where this page comes from