NETWORKMANAGER_DISPATCHER_CHRONYC_SELINUX(8)
π NAME π
okay bestie, this is the manual page for NetworkManager_dispatcher_chronyc_selinux β aka the Security Enhanced Linux Policy for the NetworkManager_dispatcher_chronyc processes π
β¨ DESCRIPTION β¨
so Security-Enhanced Linux keeps the NetworkManager_dispatcher_chronyc processes in check via flexible mandatory access control. like, it's literally the vibe police but for syscalls π«Ά
the NetworkManager_dispatcher_chronyc processes run with the NetworkManager_dispatcher_chronyc_t SELinux type. wanna check if you've got these processes running rn? just run the ps command with the -Z qualifier, no cap:
ps -eZ | grep NetworkManager_dispatcher_chronyc_t
πͺ ENTRYPOINTS πͺ
you can enter the NetworkManager_dispatcher_chronyc_t SELinux type through the NetworkManager_dispatcher_chronyc_script_t file type π₯
the default entrypoint paths for the NetworkManager_dispatcher_chronyc_t domain are, and I'm listing every single one because we don't skip:
/usr/lib/NetworkManager/dispatcher.d/20-chrony/etc/NetworkManager/dispatcher.d/20-chrony-dhcp/usr/lib/NetworkManager/dispatcher.d/20-chrony-dhcp/etc/NetworkManager/dispatcher.d/20-chrony-onoffline/usr/lib/NetworkManager/dispatcher.d/20-chrony-onoffline
π PROCESS TYPES π
SELinux defines process types (aka domains) for each process running on the system, periodt.
you can see the context of a process using the -Z option to ps π
policy governs the access confined processes have to files. the SELinux NetworkManager_dispatcher_chronyc policy is very flexible, allowing users to set up their NetworkManager_dispatcher_chronyc processes in as secure a method as possible β¨
the following process types are defined for NetworkManager_dispatcher_chronyc:
NetworkManager_dispatcher_chronyc_t
note bestie:semanage permissive -a NetworkManager_dispatcher_chronyc_tcan be used to make the process typeNetworkManager_dispatcher_chronyc_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, it just doesn't block.
ποΈ BOOLEANS ποΈ
SELinux policy is customizable based on least access required. the NetworkManager_dispatcher_chronyc policy is extremely flexible and has several booleans that let you manipulate the policy and run NetworkManager_dispatcher_chronyc with the tightest access possible π
if you want to allow all domains to execute in fips_mode, you must turn on the fips_mode boolean. it's enabled by default π«Ά
setsebool -P fips_mode 1
π MANAGED FILES π
the SELinux process type NetworkManager_dispatcher_chronyc_t can manage files labeled with the following file types. the paths listed are the default paths for these file types. and fyi, the processes UID still needs to have DAC permissions π
chronyd_var_run_t
/run/chrony(/.*)?
/run/chronyd(/.*)?
/run/chrony-dhcp(/.*)?
/run/chrony-helper(/.*)?
/run/chronyd.pid
/run/chronyd.sock
π·οΈ FILE CONTEXTS π·οΈ
SELinux requires files to have an extended attribute to define the file type, that's just how it is β¨
you can see the context of a file using the -Z option to ls π
policy governs the access confined processes have to these files. the SELinux NetworkManager_dispatcher_chronyc policy is very flexible, allowing users to set up their NetworkManager_dispatcher_chronyc processes in as secure a method as possible π«Ά
πΈ STANDARD FILE CONTEXT πΈ
SELinux defines the file context types for the NetworkManager_dispatcher_chronyc. so 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 NetworkManager_dispatcher_chronyc_script_t '/srv/NetworkManager_dispatcher_chronyc/content(/.*)?'
restorecon -R -v /srv/myNetworkManager_dispatcher_chronyc_content
note: SELinux often uses regular expressions to specify labels that match multiple files π§
the following file types are defined for NetworkManager_dispatcher_chronyc:
NetworkManager_dispatcher_chronyc_script_t
- set files with the
NetworkManager_dispatcher_chronyc_script_ttype if you want to treat the files as NetworkManager dispatcher chronyc script data π₯
Paths:
/usr/lib/NetworkManager/dispatcher.d/20-chrony
/etc/NetworkManager/dispatcher.d/20-chrony-dhcp
/usr/lib/NetworkManager/dispatcher.d/20-chrony-dhcp
/etc/NetworkManager/dispatcher.d/20-chrony-onoffline
/usr/lib/NetworkManager/dispatcher.d/20-chrony-onoffline
note bestie: 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 π like, don't forget the restorecon step, that's the whole point.
π οΈ 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 π
βοΈ AUTHOR βοΈ
this manual page was auto-generated using sepolicy manpage . β yes, that trailing space and period is iconic of them, we keep it exactly π«Ά
π SEE ALSO π
selinux(8), NetworkManager_dispatcher_chronyc(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)
and that's the whole page bestie, you ate π β¨
NetworkManager_dispatcher_chronyc Β· 26-10-06 Β· Netw...linux(8) β mwah, go forth and label responsibly ππ¦π
π¦ 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