On Wed, 14 Oct 2015 18:23:37 -0400 (EDT) "Jaldhar H. Vyas" <jald...@debian.org> wrote:
> On Wed, 14 Oct 2015, Russell Coker wrote:
>
> > Please include the following changes to /etc/init.d/dovecot (or something
> > functionally
> > equivalent) as well as something similar for systemd-tmpfiles to create and
> > label
> > /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.

Cheers,

Laurent Bigonville

Reply via email to