evtchnd_selinux(8)
π evtchnd_selinux β the glow-up edition π
Okay so bestie, listen. This is the SELinux policy manual for the evtchnd processes β yes, that's the manual name right there in the title, we love a self-referential moment. Let's get into it. β¨
πΈ NAME πΈ
evtchnd_selinux β literally the Security Enhanced Linux Policy for the evtchnd processes. That's it. That's the whole vibe. π
π¦ DESCRIPTION π¦
Security-Enhanced Linux secures the evtchnd processes via flexible mandatory access control. No cap, it's giving "we take security seriously but make it fashion." π₯
The evtchnd processes execute with the evtchnd_t SELinux type. You can check if you have these processes running by executing the ps command with the -Z qualifier. Like, go look, bestie:
ps -eZ | grep evtchnd_t
That's the whole assignment. Run it. Slay. β¨
π ENTRYPOINTS π
The evtchnd_t SELinux type can be entered via the evtchnd_exec_t file type. That's the doorway, the main entrance, the red carpet moment. πͺβ¨
The default entrypoint paths for the evtchnd_t domain are the following:
/usr/bin/evtchnd
Periodt. That's the only path. Simple. Iconic. No notes. π
π PROCESS TYPES π
SELinux defines process types (domains) for each process running on the system. Yes, every little process gets its own category. It's giving organized chaos. π
You can see the context of a process using the -Z option to ps. Boom. Easy.
Policy governs the access confined processes have to files. SELinux evtchnd policy is very flexible β it's literally letting users set up their evtchnd processes in as secure a method as possible. Tight, locked down, but make it customizable. π
The following process types are defined for evtchnd:
evtchnd_t
Note:semanage permissive -a evtchnd_tcan be used to make the process typeevtchnd_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. So like, it's not a free pass, bestie β the receipts still show up. π
β BOOLEANS β
SELinux policy is customizable based on least access required. The evtchnd policy is extremely flexible and has several booleans that allow you to manipulate the policy and run evtchnd with the tightest access possible. Lowkey obsessed with how configurable this is. π«Ά
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 evtchnd_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 doesn't override your whole existence, 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
π evtchnd_var_log_t
/var/log/evtchnd.log.*
π evtchnd_var_run_t
/run/evtchnd
/run/evtchnd.pid
π root_t
/sysroot/.aleph-version.json
/sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
/
/initrd
/var/lib/ntp
That's the whole list. Don't skip any of it, bestie β every path matters. π
π§ FILE CONTEXTS π§
SELinux requires files to have an extended attribute to define the file type. It's giving "everything needs a label, no exceptions." π·οΈ
You can see the context of a file using the -Z option to ls. Go off, queen.
Policy governs the access confined processes have to these files. SELinux evtchnd policy is very flexible β allowing users to set up their evtchnd processes in as secure a method as possible. Same energy as before, but now for files. β¨
πΈ STANDARD FILE CONTEXT πΈ
SELinux defines the file context types for the evtchnd. 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 a two-step makeover. π
semanage fcontext -a -t evtchnd_exec_t '/srv/evtchnd/content(/.*)?'
restorecon -R -v /srv/myevtchnd_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. Regex is literally that girl. πββοΈ
The following file types are defined for evtchnd:
evtchnd_exec_tβ Set files with theevtchnd_exec_ttype if you want to transition an executable to theevtchnd_tdomain. It's the gateway drug to the domain. πͺevtchnd_var_log_tβ Set files with theevtchnd_var_log_ttype if you want to treat the data asevtchndvar log data, usually stored under the/var/logdirectory. Log girlies, rise. πevtchnd_var_run_tβ Set files with theevtchnd_var_run_ttype if you want to store theevtchndfiles under the/runor/var/rundirectory. Run directory, run. πββοΈ
Paths:
/run/evtchnd, /run/evtchnd.pid
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. So like,chconis the quick fix,semanage fcontext+restoreconis the committed relationship. Choose wisely. π
π₯ COMMANDS π₯
semanage fcontext can also be used to manipulate default file context mappings. Slay.
semanage permissive can also be used to manipulate whether or not a process type is permissive. Flexible queen.
semanage module can also be used to enable/disable/install/remove policy modules. Modular and iconic.
semanage boolean can also be used to manipulate the booleans. Boolean baddie.
system-config-selinux is a GUI tool available to customize SELinux policy settings. For when you want to point and click instead of typing. We respect both paths. π±οΈβ¨
π AUTHOR π
This manual page was auto-generated using sepolicy manpage. The robots did this one, bestie. We just gave it the group-chat energy. π€π
π SEE ALSO π
selinux(8), evtchnd(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)
Go read those if you're nosy. I support it. π«Ά
And that's the whole manual, bestie. Auto-generated with love (and sepolicy manpage), dated 26-10-06, version vibes only. Stay secure, stay slay. πβ¨ππ¦πΈπ
π«Άππ₯ππβππππ§π
π¦ 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