mip6d_selinux(8)
π mip6d_selinux(8) β the SELinux tea on mip6d π
okay bestie, gather round, because today we're learning about mip6d_selinux β the Security Enhanced Linux Policy for the mip6d processes. yes it's a whole manual page, and yes we're gonna make it cute. π
β¨ NAME β¨
mip6d_selinux β Security Enhanced Linux Policy for the mip6d processes. that's it, that's the whole vibe. πΈ
π¦ DESCRIPTION π¦
Security-Enhanced Linux secures the mip6d processes via flexible mandatory access control. like, it's giving boundaries but make it security. π
the mip6d processes execute with the mip6d_t SELinux type. and you can literally check if you have these processes running by executing the ps command with the -Z qualifier. the -Z is the main character here, fr fr. π
for example:
ps -eZ | grep mip6d_t
ngl, that's the whole check. slay. β
πͺ ENTRYPOINTS πͺ
the mip6d_t SELinux type can be entered via the mip6d_exec_t file type. that's the doorway, iykyk. πͺβ¨
the default entrypoint paths for the mip6d_t domain are the following:
/usr/sbin/mip6d
one path. one. iconic minimalism. π
π PROCESS TYPES π
SELinux defines process types (domains) for each process running on the system. yes, every process gets its own little domain. we love organized. π
you can see the context of a process using the -Z option to ps. same -Z as before, she's consistent. π©·
Policy governs the access confined processes have to files. SELinux mip6d policy is very flexible allowing users to setup their mip6d processes in as secure a method as possible. flexible and secure, we love a dual threat. π
the following process types are defined for mip6d:
mip6d_t
Note:semanage permissive -a mip6d_tcan be used to make the process typemip6d_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so like, it's chill about denying, but it's still gonna tell on you. π the receipts stay.
ποΈ BOOLEANS ποΈ
SELinux policy is customizable based on least access required. mip6d policy is extremely flexible and has several booleans that allow you to manipulate the policy and run mip6d with the tightest access possible. tightest access possible = the vibe check of security settings. π₯
- 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 allow all domains to execute in
fips_mode, you must turn on thefips_modeboolean. Enabled by default. π¦
setsebool -P fips_mode 1
two booleans, both already on by default. we love a low-maintenance queen. π
π MANAGED FILES π
the SELinux process type mip6d_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, the UID still has a job. π«Ά
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
/var/run/crm(/.*)?
/var/run/cman_.*
/var/run/rsctmp(/.*)?
/var/run/aisexec.*
/var/run/heartbeat(/.*)?
/var/run/pcsd-ruby.socket
/var/run/corosync-qnetd(/.*)?
/var/run/corosync-qdevice(/.*)?
/var/run/pcsd.socket
/var/run/corosync.pid
/var/run/cpglockd.pid
/var/run/rgmanager.pid
/var/run/cluster/rgmanager.sk
root_t
/sysroot/ostree/deploy/.*-atomic/deploy(/.*)?
/
/initrd
ok that's a lot of paths but we read them all, because we don't skip parts in this house. πβ¨
π·οΈ FILE CONTEXTS π·οΈ
SELinux requires files to have an extended attribute to define the file type. it's like a little name tag for your files. π
you can see the context of a file using the -Z option to ls. (yes, third -Z sighting. she's everywhere. π)
Policy governs the access confined processes have to these files. SELinux mip6d policy is very flexible allowing users to setup their mip6d processes in as secure a method as possible. yes i said it twice, because the manpage says it twice, and we keep every detail around here. π
π STANDARD FILE CONTEXT π
SELinux defines the file context types for the mip6d, 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. like relabeling but make it a two-step glow-up. β¨
semanage fcontext -a -t mip6d_unit_file_t '/srv/mymip6d_content(/.*)?'
restorecon -R -v /srv/mymip6d_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. regex girlies rise. πΈ
the following file types are defined for mip6d:
mip6d_exec_tβ Set files with themip6d_exec_ttype, if you want to transition an executable to themip6d_tdomain. πͺmip6d_unit_file_tβ Set files with themip6d_unit_file_ttype, if you want to treat the files asmip6dunit content. π
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. sochconis the temporary tattoo andsemanage fcontext+restoreconis the real ink. periodt. π
π οΈ 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 and still serving this much cunt. π
π
π SEE ALSO π
selinux(8), mip6d(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)
go read those next, bestie, the lore is deep. ππ¦
and that's the whole page!! πβ¨ππ¦πΈπ π«Ά
mip6d β 26-10-23 β this adorable little mip6d_selinux(8) moment was brought to you by that date right there, mwah, ily, go label some files responsibly ππβ
π¦ where this page comes from
- centos-stream 9: selinux-policy-doc 38.1.87-1.el9 Β· GPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms