Package: dovecot-core
Version: 1:2.3.4.1-2
Severity: normal
Tags: patch

Dear Maintainer,

My logs have the line
'PIDFile= references path below legacy directory /var/run/, updating 
/var/run/dovecot/master.pid → /run/dovecot/master.pid; please update the unit 
file accordingly'

This violates Debian Policy 9.1.4 -- only /run ought be used for this
kind of thing. Providing '--with-rundir=/run' to configure resolves the
issue. I've provided a patch.

-- Package-specific info:

dovecot configuration
---------------------
# 2.3.4.1 (f79e8e7e4): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.4 ()
# OS: Linux 4.18.8-x86_64-linode117 x86_64 Debian buster/sid 
# Hostname: localhost.localdomain
login_trusted_networks = 10.88.0.0/24
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mail_privileged_group = mail
namespace inbox {
  inbox = yes
  location = 
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix = 
}
passdb {
  driver = pam
}
protocols = " imap pop3"
ssl = no
userdb {
  driver = passwd
}

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.8-x86_64-linode117 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dovecot-core depends on:
ii  adduser              3.118
ii  libapparmor1         2.13.2-9
ii  libbz2-1.0           1.0.6-9
ii  libc6                2.28-8
ii  libexttextcat-2.0-0  3.4.5-1
ii  libicu63             63.1-6
ii  liblua5.3-0          5.3.3-1.1
ii  liblz4-1             1.8.3-1
ii  liblzma5             5.2.4-1
ii  libpam-runtime       1.3.1-5
ii  libpam0g             1.3.1-5
ii  libsodium23          1.0.17-1
ii  libssl1.1            1.1.1b-1
ii  libstemmer0d         0+svn585-1+b2
ii  libwrap0             7.6.q-28
ii  lsb-base             10.2019031300
ii  openssl              1.1.1b-1
ii  ssl-cert             1.0.39
ii  ucf                  3.0038+nmu1
ii  zlib1g               1:1.2.11.dfsg-1

dovecot-core recommends no packages.

Versions of packages dovecot-core suggests:
pn  dovecot-gssapi        <none>
ii  dovecot-imapd         1:2.3.4.1-2
pn  dovecot-ldap          <none>
pn  dovecot-lmtpd         <none>
pn  dovecot-lucene        <none>
pn  dovecot-managesieved  <none>
pn  dovecot-mysql         <none>
pn  dovecot-pgsql         <none>
ii  dovecot-pop3d         1:2.3.4.1-2
pn  dovecot-sieve         <none>
pn  dovecot-solr          <none>
pn  dovecot-sqlite        <none>
pn  dovecot-submissiond   <none>
pn  ntp                   <none>

Versions of packages dovecot-core is related to:
ii  dovecot-core [dovecot-common]  1:2.3.4.1-2
pn  dovecot-dev                    <none>
pn  dovecot-gssapi                 <none>
ii  dovecot-imapd                  1:2.3.4.1-2
pn  dovecot-ldap                   <none>
pn  dovecot-lmtpd                  <none>
pn  dovecot-managesieved           <none>
pn  dovecot-mysql                  <none>
pn  dovecot-pgsql                  <none>
ii  dovecot-pop3d                  1:2.3.4.1-2
pn  dovecot-sieve                  <none>
pn  dovecot-sqlite                 <none>

-- debconf information:
* dovecot-core/create-ssl-cert: false
* dovecot-core/ssl-cert-name: localhost
  dovecot-core/ssl-cert-exists:
diff -ur debian/rules debian.run/rules
--- debian/rules        2019-03-14 05:02:39.000000000 -0400
+++ debian.run/rules    2019-03-25 00:26:27.911039439 -0400
@@ -99,6 +99,7 @@
                    --with-lz4 \
                    --with-lua=plugin \
                    --with-sodium \
+                               --with-rundir=/run \
                    --libdir=\$${prefix}/lib \
                    --libexecdir=\$${prefix}/lib \
                    --docdir=\$${prefix}/share/doc/dovecot-core \
diff -ur debian/rules debian.run/rules
--- debian/rules        2019-03-14 05:02:39.000000000 -0400
+++ debian.run/rules    2019-03-25 00:26:27.911039439 -0400
@@ -99,6 +99,7 @@
                    --with-lz4 \
                    --with-lua=plugin \
                    --with-sodium \
+                               --with-rundir=/run \
                    --libdir=\$${prefix}/lib \
                    --libexecdir=\$${prefix}/lib \
                    --docdir=\$${prefix}/share/doc/dovecot-core \

Reply via email to