Re: [Dovecot] dovecot 2.0 vs. SELinux

2010-05-14 Thread Michal Hlavinka
On Friday 14 of May 2010 17:42:25 Timo Sirainen wrote: > On 14.5.2010, at 14.10, Michal Hlavinka wrote: > > Looking at strace output, dovecot tries to use socket on > > > /etc/dovecot/dovecot.conf which is regular file and no socket: > Yeah, it was less code to do it that way.. But since it causes

Re: [Dovecot] dovecot 2.0 vs. SELinux

2010-05-14 Thread Timo Sirainen
On 14.5.2010, at 14.10, Michal Hlavinka wrote: > Looking at strace output, dovecot tries to use socket on > /etc/dovecot/dovecot.conf which is regular file and no socket: Yeah, it was less code to do it that way.. But since it causes problems, added more code: http://hg.dovecot.org/dovecot-2.0/

Re: [Dovecot] dovecot 2.0 vs. SELinux

2010-05-14 Thread Phil Howard
On Fri, May 14, 2010 at 08:10, Michal Hlavinka wrote: > Does anyone know what happens here? Why dovecot tries to use regular file > dovecot.conf as socket? There is probably some magic in it (from my pov) > which > I don't understand. > I don't see that happening with mine. That sure doesn't m

[Dovecot] dovecot 2.0 vs. SELinux

2010-05-14 Thread Michal Hlavinka
Hi, we were modifying old SELinux rules for dovecot 2.0. Everything seems ok, only one report seems odd: "SELinux is preventing /usr/sbin/dovecot "write" access on dovecot.conf." Looking at strace output, dovecot tries to use socket on /etc/dovecot/dovecot.conf which is regular file and no soc