Security Context of nscd_socket
Hi!
Yesterday I rebuild the file security context and after this the nscd did not work, because the security context of the file /var/run/.nscd_socket was set to var_run_t and not to nscd_var_run_t. The policy denied the unlink of this file.
A solution is to add follow line in the file file_context/var/run/.nscd_socket system_u:object_r:nscd_var_run_t.
Could anybody add this to the source code?
Carsten
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 8 lines · Carsten Grohmann
Yesterday I rebuild the file security context and after this the nscd did not work, because the security context of the file
/var/run/.nscd_socketwas set tovar_run_tand not tonscd_var_run_t. The policy denied the unlink of this file.
A solution is to add follow line in the filefile_context/var/run/.nscd_socketsystem_u:object_r:nscd_var_run_t.Could anybody add this to the source code?
I'd suggest using <<none>> rather than a particular context for this type of object in file_contexts, since the socket file should be recreated each time by the daemon. Notice that such an entry exists for the pid files.
--
Stephen D. Smalley, NAI Labs
[email protected]
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.