Bug#767977: pmacctd systemd service needs Type=forking
Package: pmacct Version: 1.5.0-2 Severity: important /lib/systemd/system/pmacctd.service as supplied does not successfully start pmacctd because systemd is not expecting pmacctd to fork so assumes the service has failed when it exits. Adding Type=forking after [Service] fixes this for me. (Presumably the same applies to the other systemd services in this package, although I have not tested these.) -- System Information: Debian Release: jessie/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.16-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages pmacct depends on: ii dpkg 1.17.21 ii libc6 2.19-12 ii libgeoip1 1.6.2-1 ii libjansson4 2.7-1 ii libmysqlclient18 5.5.39-1 ii libpcap0.81.6.2-2 ii libpq59.4~beta3-3 ii librabbitmq1 0.5.2-1 ii libsqlite3-0 3.8.7-1 ii libstdc++64.9.1-16 ii lsb-base 4.1+Debian13+nmu1 ii net-tools 1.60-26 ii psmisc22.21-2 ii zlib1g1:1.2.8.dfsg-2 pmacct recommends no packages. pmacct suggests no packages. -- Configuration Files: /etc/default/pmacct 4c69c2a4700d0cf767c39a812d01f6b7 [Errno 2] No such file or directory: u'/etc/default/pmacct 4c69c2a4700d0cf767c39a812d01f6b7' /etc/default/pmacctd changed [not included] /etc/pmacct/pmacctd.conf changed [not included] -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#767977: pmacctd systemd service needs Type=forking
hi, /lib/systemd/system/pmacctd.service as supplied does not successfully start pmacctd because systemd is not expecting pmacctd to fork so assumes the service has failed when it exits. Adding Type=forking after [Service] fixes this for me. (Presumably the same applies to the other systemd services in this package, although I have not tested these.) please remove the -D option from your /etc/default/pmacctd and try again. I'm assuming that option is hidden there, or somewhere else. Let me know if that doesn't work for you. Thanks, Bernd -- Bernd ZeimetzDebian GNU/Linux Developer http://bzed.dehttp://www.debian.org GPG Fingerprint: ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#767977: pmacctd systemd service needs Type=forking
At 22:24 today, Bernd Zeimetz wrote: please remove the -D option from your /etc/default/pmacctd and try again. I'm assuming that option is hidden there, or somewhere else. Hi Bernd, The -D option is not present in /etc/default/pmacctd -- but rather daemonize: true is present in /etc/pmacct/pmacctd.conf. The current packaged default configuration file includes daemonize: true and previous versions of the package have done so for a long time. FWIW: my suggestion is to leave that in the default configuration and tweak the systemd service to expect it, rather than removing that line from the default configuration file, to avoid breaking upgrades. Thanks, Malcolm -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org