firewallgui_selinux(8)
π firewallgui_selinux(8) β the SELinux Policy for firewallgui, bestie
okay so real talk: this is a manual page from the SELinux Policy firewallgui collection, and it's literally all about the firewallgui processes and how SELinux keeps them in line. let's get into it π«Ά
β¨ NAME β¨
firewallgui_selinux β it's the Security Enhanced Linux Policy for the firewallgui processes. that's the whole name section, we ate π
πΈ DESCRIPTION πΈ
Security-Enhanced Linux secures the firewallgui processes via flexible mandatory access control. yes, mandatory. not "if you feel like it" access control. it's giving strict queen energy π
the firewallgui processes execute with the firewallgui_t SELinux type. wanna check if you've got these processes running? just run the ps command with the -Z qualifier. like this:
ps -eZ | grep firewallgui_t
that's it. that's the vibe check π
π¦ ENTRYPOINTS π¦
so the firewallgui_t SELinux type can be entered via the firewallgui_exec_t file type. that's the doorway, bestie πͺ
the default entrypoint paths for the firewallgui_t domain are literally these:
/usr/share/system-config-firewall/system-config-firewall-mechanism.py
one path. iconic. no notes β¨
π PROCESS TYPES π
SELinux defines process types (domains) for each process running on the system. every process gets a little identity, it's giving main character energy for each one π«Ά
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 firewallgui policy is very flexible, allowing users to set up their firewallgui processes in as secure a method as possible. flex AND secure, we love to see it π
the following process types are defined for firewallgui:
firewallgui_t
note:semanage permissive -a firewallgui_tcan be used to make the process typefirewallgui_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so like, it stops blocking but it's still gonna gossip about you in the logs ππ
π₯ BOOLEANS π₯
SELinux policy is customizable based on least access required. the firewallgui policy is extremely flexible and has several booleans that allow you to manipulate the policy and run firewallgui with the tightest access possible. tightest access = the most locked-down slay π
if you want to allow all domains to execute in fips_mode, you must turn on the fips_mode boolean. enabled by default, bestie.
setsebool -P fips_mode 1
if you want to allow system to run with NIS, you must turn on the nis_enabled boolean. disabled by default β you gotta opt in.
setsebool -P nis_enabled 1
two booleans, both get the -P flag so they stick around. periodt π
π MANAGED FILES π
the SELinux process type firewallgui_t can manage files labeled with the following file types. the paths listed are the default paths for these file types. but heads up, the process's UID still needs to have DAC permissions β SELinux isn't out here overriding DAC, they're a team π€
firewallgui_tmp_t
(this one's got no default paths listed, it's just out here existing π§)
krb5_host_rcache_t
/var/tmp/krb5_0.rcache2
/var/cache/krb5rcache(/.*)?
/var/tmp/nfs_0
/var/tmp/DNS_25
/var/tmp/host_0
/var/tmp/imap_0
/var/tmp/HTTP_23
/var/tmp/HTTP_48
/var/tmp/ldap_55
/var/tmp/ldap_487
/var/tmp/ldapmap1_0
systemd_passwd_var_run_t
/run/systemd/ask-password(/.*)?
/run/systemd/ask-password-block(/.*)?
look at all those paths. lowkey a lot, highkey organized ποΈ
β FILE CONTEXTS β
SELinux requires files to have an extended attribute to define the file type. it's like a little name tag for every file π·οΈ
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 firewallgui policy is very flexible, allowing users to set up their firewallgui processes in as secure a method as possible. (yes, same energy as before, because it's literally the same truth π
)
π STANDARD FILE CONTEXT π
SELinux defines the file context types for the firewallgui. if you wanted to store files with these types in 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 firewallgui_exec_t '/srv/firewallgui/content(/.*)?'
restorecon -R -v /srv/myfirewallgui_content
note: SELinux often uses regular expressions to specify labels that match multiple files. regex my beloved ππ
the following file types are defined for firewallgui:
firewallgui_exec_tβ set files with thefirewallgui_exec_ttype if you want to transition an executable to thefirewallgui_tdomain. the glow-up pipeline β¨firewallgui_tmp_tβ set files with thefirewallgui_tmp_ttype if you want to storefirewallguitemporary files in the/tmpdirectories. temp files stay in temp town ποΈ
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.chconis the quick fix,semanage fcontext+restoreconis the committed relationship, iykyk π«Ά
π§ COMMANDS π§
semanage fcontextcan also be used to manipulate default file context mappings.semanage permissivecan also be used to manipulate whether or not a process type is permissive.semanage modulecan also be used to enable/disable/install/remove policy modules.semanage booleancan also be used to manipulate the booleans.system-config-selinuxis a GUI tool available to customize SELinux policy settings. a whole GUI, for the girlies who like clicking π±οΈπ
π AUTHOR π
this manual page was auto-generated using sepolicy manpage. a machine wrote this. a robot. and it still ate πβ¨
π SEE ALSO π
selinux(8), firewallgui(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)
aaaand that's the whole page!! the source is firewallgui, version/date 26-10-06, and the manual name is firewallgui_selinux(8) β so yeah, that's your sign-off bestie, go forth and label responsibly π¦ππ
π¦ where this page comes from
- opensuse-leap 16.0: selinux-policy-doc 20250627+git412.dbf877ab7-160000.1.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms