Greetings, I can reproduce this problem. It only seems to happen when restarting with systemd. While the restart action of the init script waits for one second between stopping and starting, systemd does not use the restart action of the init script, but instead issues a stop and start separately.
I currently see no fix for this besides shipping a systemd unit file with RestartSec. This would require some thinking though, because the command line options for rbldnsd in /etc/default/rbldnsd are currently stored in a way that makes them hard to process in systemd and I'm not sure what would be the “proper” way to make these options available to systemd. One easy way to solve this problem about accessing the options could be to tell systemd to run the init script of rbldnsd as a forking service and specify RestartSec and PIDFile. This would be a slight improvement over the current situation, but IMO quite ugly. Do you have some opinion on this, Marco? Regards Sven On Fri, 21 Jul 2017 10:53:36 +0200 "Lucian A." <ato...@gmail.com> wrote: > Package: rbldnsd > Version: 0.998b~pre1-1 > Severity: normal > > Dear Maintainer, > > During service restart the old rbldnsd process does not exit on time. > When the new process is started it fails to bind to the same IP address on > port 53. > > > -- System Information: > Debian Release: 9.0 > Architecture: amd64 (x86_64) > > Kernel: Linux 4.9.0-1-amd64 (SMP w/8 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), > LANGUAGE=en_US:en (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages rbldnsd depends on: > ii adduser 3.115 > ii libc6 2.24-12 > ii lsb-base 9.20161125 > ii zlib1g 1:1.2.8.dfsg-5 > > rbldnsd recommends no packages. > > rbldnsd suggests no packages. > > -- Configuration Files: > /etc/default/rbldnsd changed [not included] > > -- no debconf information > >
signature.asc
Description: OpenPGP digital signature