On Thu, 24 Dec 2015 11:50:56 AM Laurent Bigonville wrote: > > > /var/lib/dovecot before the Dovecot daemons start. > > > > > > In the SE Linux policy I don't want to permit Dovecot to create > arbitrary > > > directories > > > under /var/lib and this minor change avoids that need. > > > > > > > Ok. I'm packaging 2.2.19 as we speak; it will go in with that. > > Shouldn't this directory be created by the package itself rather than > created in the init script? > > That would ensure that the SELinux context is properly set too (dpkg > does that) and would allow proper tracking of the directory.
That sounds like a good option to me. Either way will solve the SE Linux problem but putting it in the package seems neater overall. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/