[Dovecot] dovecot: auth(default): Can't open configuration file /etc/dovecot/dovecot-sql.conf: Permission denied
Kevin P. McDonough
kevin at xcomtechnologies.com
Tue Apr 5 17:49:04 EEST 2011
Hmm. I did see mention of SELinux in regards to other permissions
errors but everything I was reading seemed to have less to do with
configuration file read access and more with creation of sockets, etc
and I didnt think about AppArmor. That sounds like a good place to
start looking. Thank you for the lead, I will let you know what I find.
On 04/05/2011 12:54 AM, Timo Sirainen wrote:
> On 5.4.2011, at 1.16, Kevin P. McDonough wrote:
>> Apr 4 13:15:03 ***** dovecot: auth(default): Can't open configuration file /etc/dovecot/dovecot-sql.conf: Permission denied
> This file is opened while dovecot-auth is still running as root. So I'm guessing you have SELinux or AppArmor or something similar enabled, which prevents this.
>> Error: setmntent(/etc/mtab) failed: Permission denied
>> I just noticed that setmntent error above, I havent seen that anywhere else previously. Any help would be _greatly_ appreciated.
> This can also only be explained by SELinux/AppArmor.
More information about the dovecot