Re: [Dovecot] deliver triggering SELinux AVC denials
From: Timo Sirainen tss@iki.fi Date: 2008/01/01 Tue PM 09:18:05 CST To: Gerry Reno greno@verizon.net Cc: dovecot@dovecot.org Subject: Re: [Dovecot] deliver triggering SELinux AVC denials ... Set dotlock_use_excl=yes to see what file it's really wanting to create.
Ok, did that. And looking at all the alerts it appears to be any file that deliver is trying to write under /home/vmail.
My users are all virtual and they all exist like: /home/vmail/example.com/john
typical permissions: -rw------- 1 vmail vmail 464 2008-01-01 20:06 dovecot.index.log
but for some reason even though deliver is setup to run as vmail:vmail it is still having permission problems.
dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -d ${recipient}
????
Gerry
On Tue, 2008-01-01 at 21:36 -0600, greno@verizon.net wrote:
From: Timo Sirainen tss@iki.fi Date: 2008/01/01 Tue PM 09:18:05 CST To: Gerry Reno greno@verizon.net Cc: dovecot@dovecot.org Subject: Re: [Dovecot] deliver triggering SELinux AVC denials ... Set dotlock_use_excl=yes to see what file it's really wanting to create.
Ok, did that. And looking at all the alerts it appears to be any file that deliver is trying to write under /home/vmail. .. but for some reason even though deliver is setup to run as vmail:vmail it is still having permission problems.
Well, Dovecot's default SELinux permissions often seem to disallow writing under /home..
participants (2)
-
greno@verizon.net
-
Timo Sirainen