Mail archive
alpine-aports

Re: [alpine-aports] [PATCH 1/2] main/dovecot: upgrade to 2.2.23, update init and logrotate scripts

From: Valery Kartel <valery.kartel_at_gmail.com>
Date: Mon, 16 May 2016 19:04:09 +0300

Hi,

Pid dir must be owned by root:root, because ownership of all sockets are
setted up by master process and their ownerships and access modes are
setted up in dovecot's config file.
16 трав. 2016 18:34 "Natanael Copa" <ncopa_at_alpinelinux.org> пише:

> Hi,
>
> sorry for late response
>
> On Mon, 4 Apr 2016 10:08:06 +0300
> Valery Kartel <valery.kartel_at_gmail.com> wrote:
>
> > ---
> > main/dovecot/APKBUILD | 20 +++++++-------
> > main/dovecot/dovecot.initd | 59
> +++++++++++++++---------------------------
> > main/dovecot/dovecot.logrotate | 2 +-
> > 3 files changed, 32 insertions(+), 49 deletions(-)
>
> ...
>
> > - DOVECOT_BASEDIR=${DOVECOT_BASEDIR:-/run/dovecot}
> > - DOVECOT_PIDFILE=${DOVECOT_BASEDIR}/master.pid
> > - checkpath --directory --owner dovecot:dovecot --mode 0755 \
> > - ${DOVECOT_BASEDIR}
> > -}
> > -
> > -start() {
> > - checkconfig || return 1
> > - ebegin "Starting ${SVCNAME}"
> > - start-stop-daemon --start --exec /usr/sbin/dovecot --pidfile
> "${DOVECOT_PIDFILE}" -- -c "${DOVECOT_CONF}"
> > +start_pre() {
> > + ebegin
> > + doveconf -c $cfgfile -x >/dev/null && \
> > + checkpath --directory ${pidfile%/*}
>
> Should the pidfile directory not be owned by dovecot:dovecot?
>
> -nc
>



---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon May 16 2016 - 19:04:09 GMT