puppetca_selinux(8)
π puppetca_selinux β the glow-up your puppetca processes deserve β¨
okay bestie, so this is the Security-Enhanced Linux policy page for the puppetca processes, and honestly? it's kind of a big deal. this is the <pink>puppetca_selinux(8)</pink> manual page and we're gonna get you comfy with it, no cap.
β¨ NAME β¨
puppetca_selinux β the Security Enhanced Linux Policy for the puppetca processes π
πΈ DESCRIPTION πΈ
Security-Enhanced Linux secures the puppetca processes via flexible mandatory access control. it's giving security but make it flexible, fr fr.
the puppetca processes execute with the <purple>puppetca_t</purple> SELinux type. you can check if you have these processes running by executing the ps command with the -Z qualifier. so like, vibe check your processes, y'know?
For example:
ps -eZ | grep puppetca_t
run that and see what's up π
π¦ ENTRYPOINTS π¦
the <purple>puppetca_t</purple> SELinux type can be entered via the <mint>puppetca_exec_t</mint> file type. that's the doorway, bestie β the main character entrance. πͺβ¨
the default entrypoint paths for the puppetca_t domain are the following:
/usr/bin/puppetca/usr/bin/start-puppet-ca
π₯ PROCESS TYPES π₯
SELinux defines process types (domains) for each process running on the system. iconic behavior honestly.
you can see the context of a process using the -Z option to ps. peek at the context, it's literally right there π
Policy governs the access confined processes have to files. SELinux puppetca policy is very flexible, allowing users to setup their puppetca processes in as secure a method as possible. flexible and secure? we love to see it π
the following process types are defined for puppetca:
puppetca_t
Note:semanage permissive -a puppetca_tcan be used to make the process typepuppetca_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so yeah, permissive mode still gossips about your denials behind your back π
π BOOLEANS π
SELinux policy is customizable based on least access required. puppetca policy is extremely flexible and has several booleans that allow you to manipulate the policy and run puppetca with the tightest access possible. tightest access = locked down like a phone with the screen facing down at dinner π«Ά
if you want to allow all domains to execute in fips_mode, you must turn on the <mint>fips_mode</mint> boolean. it's Enabled by default, so it's already slaying on its own.
setsebool -P fips_mode 1
π MANAGED FILES π
the SELinux process type puppetca_t can manage files labeled with the following file types. the paths listed are the default paths for these file types. quick reminder: the processes UID still need to have DAC permissions. don't forget the UID, bestie, it matters π
puppet_var_lib_t
/var/lib/puppet(/.*)?
security_t
/selinux
π FILE CONTEXTS π
SELinux requires files to have an extended attribute to define the file type. it's literally in the metadata, periodt.
you can see the context of a file using the -Z option to ls. yes, the same -Z energy as before β it's a whole theme π«
Policy governs the access confined processes have to these files. SELinux puppetca policy is very flexible, allowing users to setup their puppetca processes in as secure a method as possible. again: flexible, secure, iconic.
β STANDARD FILE CONTEXT β
SELinux defines the file context types for the puppetca. if you wanted to store files with these types in a different path, you need to execute the semanage command to specify alternate labeling and then use restorecon to put the labels on disk. relabeling glow-up, let's gooooo.
semanage fcontext -a -t puppetca_exec_t '/srv/puppetca/content(/.*)?'
restorecon -R -v /srv/mypuppetca_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. regex is doing the heavy lifting here, no cap.
the following file types are defined for puppetca:
puppetca_exec_tβ Set files with thepuppetca_exec_ttype, if you want to transition an executable to thepuppetca_tdomain.
Paths:
/usr/bin/puppetca/usr/bin/start-puppet-ca
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. temporary vs. permanent β choose wisely, bestie π§
π«Ά COMMANDS π«Ά
<hotpink>semanage fcontext</hotpink> can also be used to manipulate default file context mappings.
<hotpink>semanage permissive</hotpink> can also be used to manipulate whether or not a process type is permissive.
<hotpink>semanage module</hotpink> can also be used to enable/disable/install/remove policy modules.
<hotpink>semanage boolean</hotpink> can also be used to manipulate the booleans.
<lavender>system-config-selinux</lavender> is a GUI tool available to customize SELinux policy settings. a whole GUI? for the girlies who like clicking buttons, we see you π»β¨
π AUTHOR π
This manual page was auto-generated using sepolicy manpage. auto-generated and still ate, honestly π
β SEE ALSO β
selinux(8), puppetca(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)
and that's the whole page, bestie π go forth and configure your puppetca processes with confidence. this was <rainbow>puppetca_selinux(8)</rainbow> from the SELinux Policy puppetca collection, dated 26-10-06, and it ATE. periodt. π
β¨
π¦ 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