condor_startd_selinux(8)

πŸ“¦
version 20250627+git412.dbf877ab7 Β· 7 versions
, in opensuse-leap 16.0

πŸ’… condor_startd_selinux(8) β€” the SELinux tea on condor_startd

okay bestie so this is the condor_startd_selinux page β€” literally the one from the condor_startd_selinux(8) section of your friendly neighbourhood manual, all about the SELinux Policy for condor_startd. grab a strawberry drink πŸ“ and let's get into it.


✨ NAME ✨

condor_startd_selinux β€” Security Enhanced Linux Policy for the condor_startd processes 🫢


🌸 DESCRIPTION 🌸

Security-Enhanced Linux secures the condor_startd processes via flexible mandatory access control. it's giving "boundaries, but make them secure" πŸ’…

The condor_startd processes execute with the condor_startd_t SELinux type. you can vibe-check whether you've got these processes running by executing the ps command with the -Z qualifier.

For example:

ps -eZ | grep condor_startd_t

πŸ¦‹ ENTRYPOINTS πŸ¦‹

The condor_startd_t SELinux type can be entered via the condor_startd_exec_t file type. that's the doorway, no cap.

The default entrypoint paths for the condor_startd_t domain are the following:

/usr/bin/condor_startd, /usr/bin/condor_starter

πŸ‘‘ PROCESS TYPES πŸ‘‘

SELinux defines process types (domains) for each process running on the system. every process gets its own little lane ✨

You can see the context of a process using the -Z option to ps.

Policy governs the access confined processes have to files. SELinux condor_startd policy is very flexible, allowing users to setup their condor_startd processes in as secure a method as possible. highkey the whole point πŸ’œ

The following process types are defined for condor_startd:

  • condor_startd_t
  • condor_startd_ssh_t
Note: semanage permissive -a condor_startd_t can be used to make the process type condor_startd_t permissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so like, it stops enforcing but it's still watching you πŸ‘€

πŸŽ€ BOOLEANS πŸŽ€

SELinux policy is customizable based on least access required. condor_startd policy is extremely flexible and has several booleans that allow you to manipulate the policy and run condor_startd with the tightest access possible. toggles on toggles, fr fr ✨

  • daemons_dontaudit_scheduling β€” if you want to dontaudit all daemons scheduling requests (setsched, sys_nice), you must turn on this boolean. Enabled by default. πŸ’–
setsebool -P daemons_dontaudit_scheduling 1
  • mmap_low_allowed β€” if you want to control the ability to mmap a low area of the address space, as configured by /proc/sys/vm/mmap_min_addr, you must turn on this boolean. Disabled by default.
setsebool -P mmap_low_allowed 1
  • nis_enabled β€” if you want to allow system to run with NIS, you must turn on this boolean. Disabled by default.
setsebool -P nis_enabled 1
  • secure_mode_insmod β€” if you want to disable kernel module loading, you must turn on this boolean. Disabled by default.
setsebool -P secure_mode_insmod 1
  • selinuxuser_execheap β€” if you want to allow unconfined executables to make their heap memory executable, you must turn on this boolean. Disabled by default. 🫣
Doing this is a really bad idea. Probably indicates a badly coded executable, but could indicate an attack. This executable should be reported in bugzilla. like bestie, please don't 🚩
setsebool -P selinuxuser_execheap 1
  • selinuxuser_execstack β€” if you want to allow unconfined executables to make their stack executable, you must turn on this boolean. Disabled by default. 😭
This should never, ever be necessary. Probably indicates a badly coded executable, but could indicate an attack. This executable should be reported in bugzilla. seriously, never ever πŸ’€
setsebool -P selinuxuser_execstack 1

🌈 MANAGED FILES 🌈

The SELinux process type condor_startd_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 β€” SELinux isn't out here doing DAC's job, iykyk.

  • file_type β€” all files on the system. yes, all of them πŸ’…

⭐ 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 condor_startd policy is very flexible, allowing users to setup their condor_startd processes in as secure a method as possible.

🧚 STANDARD FILE CONTEXT 🧚

SELinux defines the file context types for the condor_startd. 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. relabel era ✨

semanage fcontext -a -t condor_startd_tmp_t
'/srv/condor_startd/content(/.*)?'
restorecon -R -v /srv/mycondor_startd_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. regex girlies rise πŸŽ€

The following file types are defined for condor_startd:

  • condor_startd_exec_t β€” set files with the condor_startd_exec_t type, if you want to transition an executable to the condor_startd_t domain. entry, upgraded πŸ’…

Paths:

/usr/bin/condor_startd, /usr/bin/condor_starter
  • condor_startd_tmp_t β€” set files with the condor_startd_tmp_t type, if you want to store condor startd temporary files in the /tmp directories.
  • condor_startd_tmpfs_t β€” set files with the condor_startd_tmpfs_t type, if you want to store condor startd files on a tmpfs file system.
Note: File context can be temporarily modified with the chcon command. If you want to permanently change the file context you need to use the semanage fcontext command. This will modify the SELinux labeling database. You will need to use restorecon to apply the labels. temporary vs permanent, choose wisely bestie πŸ™ˆ

πŸ’œ COMMANDS πŸ’œ

  • semanage fcontext can also be used to manipulate default file context mappings.
  • semanage permissive can also be used to manipulate whether or not a process type is permissive.
  • semanage module can also be used to enable/disable/install/remove policy modules.
  • semanage boolean can also be used to manipulate the booleans.
  • system-config-selinux is a GUI tool available to customize SELinux policy settings. yes a whole GUI, for the clicky girlies πŸ–±οΈβœ¨

πŸ“ AUTHOR πŸ“

This manual page was auto-generated using sepolicy manpage. not a human hand-typing this at 3am, it's the machine's glow-up 😭


🌸 SEE ALSO 🌸

selinux(8), condor_startd(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8), condor_startd_ssh_selinux(8)


and that's the page, bestie 🫢 this cutie came to you from condor_startd, dated 26-10-06, filed neatly under condor_startd_selinux(8) β€” go forth and label responsibly πŸ’–βœ¨

πŸ“¦ where this page comes from