Bug#868015: knockd does not start after system reboot
Affected me as well. Debian Buster. Can be dangerous when working with a remote server!
Bug#868015: knockd does not start after system reboot
This three year old bug impacted me also on a fresh Debian Buster. The patch provided by Steven Shiau seems to have done the trick. This bug would have locked me out of a server if netfilter-persistent were working as expected.
Bug#868015: knockd does not start after system reboot
and the patch works On Tue, 07 May 2019 09:58:45 +0200 Riccardo Paolo Bestetti wrote: > Package: knockd > Version: 0.7-1 > Followup-For: Bug #868015 > > Dear Maintainer, > > Kindly consider fixing the bug. A patch has been available since Sep > 2017 and it consists in a 3 line edit to the systemd unit file. > > BR, > Riccardo > > -- System Information: > Debian Release: 9.9 > APT prefers stable-updates > APT policy: (500, 'stable-updates'), (500, 'stable') > Architecture: amd64 (x86_64) > > Kernel: Linux 4.17.0-0.bpo.1-amd64 (SMP w/1 CPU core) > 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 knockd depends on: > ii libc6 2.24-11+deb9u4 > ii libpcap0.8 1.8.1-3 > ii logrotate 3.11.0-0.1 > ii lsb-base 9.20161125 > > knockd recommends no packages. > > knockd suggests no packages. > > -- Configuration Files: > /etc/knockd.conf changed: > [redacted - not useful] > > -- no debconf information > >
Bug#868015: knockd does not start after system reboot
Package: knockd Version: 0.7-1 Followup-For: Bug #868015 Dear Maintainer, Kindly consider fixing the bug. A patch has been available since Sep 2017 and it consists in a 3 line edit to the systemd unit file. BR, Riccardo -- System Information: Debian Release: 9.9 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.17.0-0.bpo.1-amd64 (SMP w/1 CPU core) 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 knockd depends on: ii libc6 2.24-11+deb9u4 ii libpcap0.8 1.8.1-3 ii logrotate 3.11.0-0.1 ii lsb-base9.20161125 knockd recommends no packages. knockd suggests no packages. -- Configuration Files: /etc/knockd.conf changed: [redacted - not useful] -- no debconf information
Bug#868015: knockd does not start after system reboot
I suffered the same bug and wrote the same fix as Steven. Please reconsider applying his path for the service file. Kind reagards, Björn Lässig
Bug#868015: knockd does not start after system reboot
Package: knockd Version: 0.7-1 Severity: normal Dear Maintainer, Issue founded in https://serverfault.com/questions/859868/how-to-run-knockd-with-debian-9-on-system-boot/861439. Knockd not starting after system reboot because there is no [Install] section in service file. Checked on knockd_0.7-1. Knockd 0.5-3 starts without problem. -- System Information: Debian Release: 8.7 APT prefers oldstable-updates APT policy: (500, 'oldstable-updates'), (500, 'oldstable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages knockd depends on: ii libc6 2.19-18+deb8u7 ii libpcap0.8 1.6.2-2 ii logrotate 3.8.7-1+b1 ii lsb-base4.1+Debian13+nmu1 knockd recommends no packages. knockd suggests no packages. -- no debconf information