Package: postfix
Version: 3.1.3-6
Severity: normal

Provided postfix's unit file is broken causing problems with getting service 
status via systemctl command. 
At the moment there's a possibility to get service status but received 
informations are very poor - Postfix's 
subprocesses aren't tracked on the status board as they should and there's no 
any postfix last logs entries.

Provided with the package unit file should looks similar to this:

--
# /etc/systemd/system/postfix.service
[Unit]
Description=Postfix Mail Transport Agent
After=network.target
Conflicts=sendmail.service exim4.service
ConditionPathExists=/etc/postfix/main.cf

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/true
ExecReload=/bin/true

[Install]
WantedBy=multi-user.target

--

>From my preliminary analysis there should be used type=forked and PIDFile 
>entry provided. 

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages postfix depends on:
ii  adduser                3.115
ii  cpio                   2.11+dfsg-5
ii  debconf [debconf-2.0]  1.5.59
ii  dpkg                   1.18.10
ii  init-system-helpers    1.45
ii  libc6                  2.24-7
ii  libdb5.3               5.3.28-12
ii  libicu57               57.1-4
ii  libsasl2-2             2.1.26.dfsg1-15
ii  libssl1.1              1.1.0c-2
ii  lsb-base               9.20160629
ii  netbase                5.3
ii  postfix-sqlite         3.1.3-6
ii  ssl-cert               1.0.38

Versions of packages postfix recommends:
ii  python3  3.5.1-4

Versions of packages postfix suggests:
ii  bsd-mailx [mail-reader]        8.1.2-0.20160123cvs-3
ii  dovecot-core [dovecot-common]  1:2.2.26.0-4
ii  libsasl2-modules               2.1.26.dfsg1-15
ii  mutt [mail-reader]             1.7.0-6
pn  postfix-cdb                    <none>
pn  postfix-doc                    <none>
pn  postfix-ldap                   <none>
ii  postfix-mysql                  3.1.3-6
ii  postfix-pcre                   3.1.3-6
pn  postfix-pgsql                  <none>
ii  procmail                       3.22-25
pn  resolvconf                     <none>
pn  sasl2-bin                      <none>
pn  ufw                            <none>

-- debconf information excluded

Reply via email to