ceph_selinux \- Security Enhanced Linux Policy for the ceph processes
.SH"DESCRIPTION"
Security-Enhanced Linux secures the ceph processes via flexible mandatory access control.
The ceph processes execute with the ceph_t SELinux type. You can check if you have these processes running by executing the \fBps\fP command with the \fB\-Z\fP qualifier.
For example:
.Bps-eZ|grepceph_t
.SH"ENTRYPOINTS"
The ceph_t SELinux type can be entered via the \fBceph_exec_t\fP file type.
The default entrypoint paths for the ceph_t domain are the following:
SELinux defines process types (domains) for each process running on the system
.PP
You can see the context of a process using the \fB\-Z\fP option to \fBps\bP
.PP
Policy governs the access confined processes have to files.
SELinux ceph policy is very flexible allowing users to setup their ceph processes in as secure a method as possible.
.PP
The following process types are defined for ceph:
.EX
.Bceph_t
.EE
.PP
Note:
.Bsemanagepermissive-aceph_t
can be used to make the process type ceph_t permissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated.
.SHBOOLEANS
SELinux policy is customizable based on least access required. ceph policy is extremely flexible and has several booleans that allow you to manipulate the policy and run ceph with the tightest access possible.
.PP
If you want to allow users to resolve user passwd entries directly from ldap rather then using a sssd server, you must turn on the authlogin_nsswitch_use_ldap boolean. Disabled by default.
.EX
.Bsetsebool-Pauthlogin_nsswitch_use_ldap1
.EE
.PP
If you want to allow all daemons to write corefiles to /, you must turn on the daemons_dump_core boolean. Disabled by default.
.EX
.Bsetsebool-Pdaemons_dump_core1
.EE
.PP
If you want to enable cluster mode for daemons, you must turn on the daemons_enable_cluster_mode boolean. Disabled by default.
.EX
.Bsetsebool-Pdaemons_enable_cluster_mode1
.EE
.PP
If you want to allow all daemons to use tcp wrappers, you must turn on the daemons_use_tcp_wrapper boolean. Disabled by default.
.EX
.Bsetsebool-Pdaemons_use_tcp_wrapper1
.EE
.PP
If you want to allow all daemons the ability to read/write terminals, you must turn on the daemons_use_tty boolean. Disabled by default.
.EX
.Bsetsebool-Pdaemons_use_tty1
.EE
.PP
If you want to deny any process from ptracing or debugging any other processes, you must turn on the deny_ptrace boolean. Disabled by default.
.EX
.Bsetsebool-Pdeny_ptrace1
.EE
.PP
If you want to allow all domains to use other domains file descriptors, you must turn on the domain_fd_use boolean. Enabled by default.
.EX
.Bsetsebool-Pdomain_fd_use1
.EE
.PP
If you want to allow all domains to have the kernel load modules, you must turn on the domain_kernel_load_modules boolean. Disabled by default.
.EX
.Bsetsebool-Pdomain_kernel_load_modules1
.EE
.PP
If you want to allow all domains to execute in fips_mode, you must turn on the fips_mode boolean. Enabled by default.
.EX
.Bsetsebool-Pfips_mode1
.EE
.PP
If you want to enable reading of urandom for all domains, you must turn on the global_ssp boolean. Disabled by default.
.EX
.Bsetsebool-Pglobal_ssp1
.EE
.PP
If you want to allow confined applications to run with kerberos, you must turn on the kerberos_enabled boolean. Enabled by default.
.EX
.Bsetsebool-Pkerberos_enabled1
.EE
.PP
If you want to allow system to run with NIS, you must turn on the nis_enabled boolean. Disabled by default.
.EX
.Bsetsebool-Pnis_enabled1
.EE
.PP
If you want to allow confined applications to use nscd shared memory, you must turn on the nscd_use_shm boolean. Enabled by default.
If you want to allow users to resolve user passwd entries directly from ldap rather then using a sssd server for the ceph_t, you must turn on the authlogin_nsswitch_use_ldap boolean.
.EX
.Bsetsebool-Pauthlogin_nsswitch_use_ldap1
.EE
.PP
If you want to allow confined applications to run with kerberos for the ceph_t, you must turn on the kerberos_enabled boolean.
The SELinux process type ceph_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 requires files to have an extended attribute to define the file type.
.PP
You can see the context of a file using the \fB\-Z\fP option to \fBls\bP
.PP
Policy governs the access confined processes have to these files.
SELinux ceph policy is very flexible allowing users to setup their ceph processes in as secure a method as possible.
.PP
.PP
.BSTANDARDFILECONTEXT
SELinux defines the file context types for the ceph, if you wanted to
store files with these types in a diffent paths, you need to execute the semanage command to sepecify alternate labeling and then use restorecon to put the labels on disk.