numad_selinux(8)
π numad_selinux(8) β the numad SELinux policy, explained by your favorite Unix bestie π
okay so bestie, this is a numad_selinux page β part of the SELinux policy docs for the whole numad family. (The numad_selinux(8) header is doing its little title thing up top, and yes, the manual name is numad_selinux, iykyk.) Let's get into it πΈ
β¨ NAME β¨
numad_selinux β Security Enhanced Linux Policy for the numad processes. That's it, that's the vibe π
π DESCRIPTION π
Security-Enhanced Linux secures the numad processes via flexible mandatory access control. Periodt π
The numad processes execute with the numad_t SELinux type. Wanna check if you've got these processes running? Run the ps command with the -Z qualifier. For example:
ps -eZ | grep numad_t
literally that easy π«Ά
π¦ ENTRYPOINTS π¦
The numad_t SELinux type can be entered via the numad_exec_t file type.
The default entrypoint paths for the numad_t domain are the following:
/usr/bin/numad
π PROCESS TYPES π
SELinux defines process types (domains) for each process running on the system.
You can see the context of a process using the -Z option to ps.
Policy governs the access confined processes have to files. SELinux numad policy is very flexible allowing users to setup their numad processes in as secure a method as possible.
The following process types are defined for numad:
numad_t
Note:semanage permissive -a numad_tcan be used to make the process typenumad_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. So likeβ¦ you're not blocked, but the receipts are still being kept π
β BOOLEANS β
SELinux policy is customizable based on least access required. numad policy is extremely flexible and has several booleans that allow you to manipulate the policy and run numad with the tightest access possible. obsessed π₯
- If you want to dontaudit all daemons scheduling requests (
setsched,sys_nice), you must turn on thedaemons_dontaudit_schedulingboolean. Enabled by default.
setsebool -P daemons_dontaudit_scheduling 1
- If you want to deny any process from ptracing or debugging any other processes, you must turn on the
deny_ptraceboolean. Disabled by default.
setsebool -P deny_ptrace 1
- If you want to allow all domains to execute in
fips_mode, you must turn on thefips_modeboolean. Enabled by default.
setsebool -P fips_mode 1
π MANAGED FILES π
The SELinux process type numad_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. (yes, both. SELinux doesn't do your DAC homework for you π)
cgroup_typeβ no default paths listed for this one, she's mysterious π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
numad_var_log_t
/var/log/numad.log.*
numad_var_run_t
/run/numad.pid
root_t
/sysroot/.aleph-version.json
/sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
/
/initrd
/var/lib/ntp
sysfs_t
/sys(/.*)?
π FILE CONTEXTS π
SELinux requires files to have an extended attribute to define the file type.
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 numad policy is very flexible allowing users to setup their numad processes in as secure a method as possible. same energy, different noun, slay π
πΈ STANDARD FILE CONTEXT πΈ
SELinux defines the file context types for the numad. 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 numad_exec_t '/srv/numad/content(/.*)?'
restorecon -R -v /srv/mynumad_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. regex girlies rise π§
The following file types are defined for numad:
numad_exec_tβ set files with thenumad_exec_ttype if you want to transition an executable to thenumad_tdomain.numad_unit_file_tβ set files with thenumad_unit_file_ttype if you want to treat the files as numad unit content.numad_var_log_tβ set files with thenumad_var_log_ttype if you want to treat the data as numad var log data, usually stored under the/var/logdirectory.numad_var_run_tβ set files with thenumad_var_run_ttype if you want to store the numad files under the/runor/var/rundirectory.
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. no cap, don't skip therestoreconstep π€
π 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 GUI!! for the girlies who like buttons π±οΈβ¨)
π AUTHOR π
This manual page was auto-generated using sepolicy manpage. (not me being auto-generated π iconic behavior honestly)
π₯ SEE ALSO π₯
selinux(8), numad(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)
k that's the whole page bestie!! π«Ά this one came from numad, dated 26-10-06, and it's the numad_selinux(8) manual β go forth and label things correctly, mwah ππ
β¨
π¦ 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