[CentOS] SELinux restorecon does not work

Tue Apr 6 12:18:53 UTC 2010
Jorge Fábregas <jorge.fabregas at gmail.com>

On Tuesday 06 April 2010 03:24:49 James Corteciano wrote:
>  Instead, you can generate a local policy module to allow this access

Hello James,

This doesn't seem like an incorrect labeling issue. Files under /etc, most of 
them, will have the etc_t as type.

Apparently the current policy doesn't allow the  action "seattr" from a 
process with a domain of "postgresql_t" to a file of type "etc_t".  You need to 
do what the output tells you (what I'm quoting).

Try this:


...with somethign like "grep postgres /var/log/audit/audit.log ...the rest of