Hi Michael, On Tue, Jan 12, 2021 at 5:54 PM Vagrant Cascadian <vagr...@debian.org> wrote: > > On 2021-01-12, Michael Grant wrote: > > After update to 4.6.2-2, milter-greylist runs for a few minutes > > processing greylist requests then exits. No error in the daemon.log. > > Daemon restarts with systemd over and over. > > > > Starting milter-greylist by hand using strace shows this just before > > it dies: > > > > poll([{fd=3, events=POLLIN|POLLPRI}], 1, 5000) = 0 (Timeout) > > poll([{fd=3, events=POLLIN|POLLPRI}], 1, 5000) = 0 (Timeout) > > poll([{fd=3, events=POLLIN|POLLPRI}], 1, 5000) = 0 (Timeout) > > poll([{fd=3, events=POLLIN|POLLPRI}], 1, 5000) = 1 ([{fd=3, > > revents=POLLIN}]) > > accept(3, {sa_family=AF_UNIX}, [2]) = 10 > > fcntl(10, F_GETFD) = 0 > > fcntl(10, F_SETFD, FD_CLOEXEC) = 0 > > setsockopt(10, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 > > futex(0x7f0f22c221a4, FUTEX_WAKE_PRIVATE, 1) = 1 > > poll([{fd=3, events=POLLIN|POLLPRI}], 1, 5000) = 0 (Timeout) > > poll([{fd=3, events=POLLIN|POLLPRI}], 1, 5000 <unfinished ...>) = ? > > +++ exited with 71 +++ > > > > Previous version of milter-greylist on debian/testing was working fine > > without this issue. > > Could you try running without the systemd .service file so that it falls > back to the init script; there may be differences between how the > .service file and the init script set up the environment to run it.
Can you also modify /lib/systemd/system/milter-greylist.service and change the [Service] section to the following and test please.. [Service] Type=forking ExecStart=/usr/sbin/milter-greylist Restart=on-failure PrivateTmp=true -- Regards Sudip