[CentOS] SELinux file permissions

Tue Jan 24 11:54:41 UTC 2017
Mike McCarthy, W1NR <sysop at w1nr.net>

This last update caused numerous services to stop working for me. I
fixed them with a relabel.

touch /.autorelabel
reboot

Try that and see...
Mike

On 01/23/2017 01:57 PM, Tim Smith wrote:
> Hi,
>
> I'm trying to grant dovecot the ability to manage its socket within
> the postfix spool directory.
>
> I have added the below to file_contexts.local :
>
> /var/spool/postfix/private/dovecot-auth system_u:system_r:dovecot_t:s0
>
>
> However, running "restorecon -v
> /var/spool/postfix/private/dovecot-auth" gives me the following error
> :
>
> restorecon:  lstat(/var/spool/postfix/private/dovecot-auth) failed:
> No such file or directory
>
>
> I cannot create the socket file in advance, because dovecot manages
> it, and if you "touch" the file, dovecot complains.
>
> Where am I going wrong ?
>
> Thanks !
>
> Tim
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos