Package: postgrey
Version: 1.36-5.1
Followup-For: Bug #821271

It still happens on buster. Found when I disabled IPv6:

net.ipv6.conf.all.disable_ipv6 = 1

Postgrey started to silently fail: 

root@myhost:/var/log# systemctl status postgrey
● postgrey.service - LSB: Start/stop the postgrey daemon
   Loaded: loaded (/etc/init.d/postgrey; generated)
   Active: active (exited) since Fri 2020-07-17 11:36:14 CEST; 2min 54s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 6570 ExecStart=/etc/init.d/postgrey start (code=exited, 
status=0/SUCCESS)

jul 17 11:36:14 myhost postgrey[6570]: whitelisted: 213.143.66.210/32
jul 17 11:36:14 myhost postgrey[6570]: Pid_file "/var/run/postgrey.pid" already 
exists.  Overwriting!
jul 17 11:36:14 myhost postgrey[6577]: Process Backgrounded
jul 17 11:36:14 myhost postgrey[6577]: 2020/07/17-11:36:14 postgrey (type 
Net::Server::Multiplex) starting! pid(6577)
jul 17 11:36:14 myhost postgrey[6570]: .
jul 17 11:36:14 myhost systemd[1]: Started LSB: Start/stop the postgrey daemon.
jul 17 11:36:14 myhost postgrey[6577]: Resolved [localhost]:10023 to 
[127.0.0.1]:10023, IPv4
jul 17 11:36:14 myhost postgrey[6577]: Resolved [localhost]:10023 to 
[::1]:10023, IPv6
jul 17 11:36:14 myhost postgrey[6577]: Binding to TCP port 10023 on host 
127.0.0.1 with IPv4
jul 17 11:36:14 myhost postgrey[6577]: Binding to TCP port 10023 on host ::1 
with IPv6
root@myhost:/var/log#

root@myhost:/var/log# ps auxw|grep postg|grep -v grep
root@myhost:/var/log#

systemd should be aware about process dying!


-- System Information:
Debian Release: 10.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-9-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), 
LANGUAGE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages postgrey depends on:
ii  adduser                3.118
ii  debconf [debconf-2.0]  1.5.71
ii  libberkeleydb-perl     0.55-2
ii  libnet-dns-perl        1.19-1
ii  libnet-server-perl     2.009-1
ii  libnetaddr-ip-perl     4.079+dfsg-1+b3
ii  perl                   5.28.1-6
ii  ucf                    3.0038+nmu1

Versions of packages postgrey recommends:
ii  libnet-rblclient-perl  0.5-3
ii  libparse-syslog-perl   1.10-3
ii  postfix                3.4.10-0+deb10u1

postgrey suggests no packages.

-- debconf information:
  postgrey/1.32-3_changeport:

Reply via email to