< SELinux

SELinux/bind

Structure

Domains

The named_t domain can only be transitioned towards through the initrc_t domain (i.e. through init scripts). The ndc_t domain (for the named domain controller) can be transitioned towards through the initrc_t and sysadm_t (general system administration) domains.

File types/labels

The following table lists the file type/labels defined in the bind module.

TypeFunctionDescription
named_exec_tEntrypointEntrypoint domain for the named binaries
named_initrc_exec_tEntrypointEntrypoint domain for non-Gentoo init scripts
named_checkconf_exec_tEntrypointEntrypoint for the checkconf binary
ndc_exec_tEntrypointEntrypoint for the ndc binaries
dnssec_tConfigurationLabel for the key files used by the named daemon
named_zone_tConfigurationLabel for the primary zone files
named_cache_tConfigurationLabel for the cached zone files
named_conf_tConfigurationLabel for the named configuration files
named_log_tConfigurationLabel for the named log files
named_tmp_tLabel for the named temporary files
named_var_run_tLabel for the named runtime variable data

Using the bind SELinux module

SELinux boolean: named_write_master_zones

The named policy offers one boolean called named_write_master_zones which, when enabled, allows the named daemon to write to its master zone files (i.e. named_zone_t). This is used in master/slave setups.

This article is issued from Gentoo. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.