Your message dated Mon, 23 Apr 2018 22:49:25 +0000
with message-id <[email protected]>
and subject line Bug#892366: fixed in nfdump 1.6.17-1
has caused the Debian Bug report #892366,
regarding nfdump: systemd service file contains "Alias" with same name
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
892366: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892366
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nfdump
Version: 1.6.15-3

The systemd service file contains an "Alias" directive with the same
name as the service file itself:
===
# cat /lib/systemd/system/nfdump.service
[Unit]
Description=netflow capture daemon
After=network.target auditd.service

[Service]
Type=simple
ExecStart=/usr/bin/nfcapd -D -l /var/cache/nfdump -P /var/run/nfcapd.pid -p 2055
PIDFile=/var/run/nfcapd.pid
KillMode=process
Restart=no

[Install]
WantedBy=multi-user.target
Alias=nfdump.service
===

This means an additional symlink is created
(/etc/systemd/system/nfdump.service):
===
# systemctl reenable nfdump.service
Removed /etc/systemd/system/nfdump.service.
Removed /etc/systemd/system/multi-user.target.wants/nfdump.service.
Created symlink /etc/systemd/system/nfdump.service → 
/lib/systemd/system/nfdump.service.
Created symlink /etc/systemd/system/multi-user.target.wants/nfdump.service → 
/lib/systemd/system/nfdump.service.
===

Based on
https://www.freedesktop.org/software/systemd/man/systemd.unit.html the
most basic way to override a system default unit file is to place a
replacement file in /etc/systemd/system, which in this case collides
with the additional symlink:
"There are two methods of overriding vendor settings in unit files:
copying the unit file from /usr/lib/systemd/system to
/etc/systemd/system and modifying the chosen settings.[...]"

Removing the Alias line fixes this:
===
--- /lib/systemd/system/nfdump.service.orig  2018-03-08 15:29:38.600937930 +0100
+++ /lib/systemd/system/nfdump.service       2018-03-08 15:28:43.188740907 +0100
@@ -11,5 +11,4 @@
 
 [Install]
 WantedBy=multi-user.target
-Alias=nfdump.service

# systemctl reenable nfdump.service
Removed /etc/systemd/system/nfdump.service.
Removed /etc/systemd/system/multi-user.target.wants/nfdump.service.
Created symlink /etc/systemd/system/multi-user.target.wants/nfdump.service → 
/lib/systemd/system/nfdump.service.
===

-- 
Patrik Lundin

--- End Message ---
--- Begin Message ---
Source: nfdump
Source-Version: 1.6.17-1

We believe that the bug you reported is fixed in the latest version of
nfdump, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bernhard Schmidt <[email protected]> (supplier of updated nfdump package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 24 Apr 2018 00:25:14 +0200
Source: nfdump
Binary: nfdump nfdump-flow-tools nfdump-sflow
Architecture: source
Version: 1.6.17-1
Distribution: unstable
Urgency: medium
Maintainer: Erik Wenzel <[email protected]>
Changed-By: Bernhard Schmidt <[email protected]>
Description:
 nfdump     - netflow capture daemon
 nfdump-flow-tools - import from flow-tools
 nfdump-sflow - sflow collector daemon
Closes: 892366
Changes:
 nfdump (1.6.17-1) unstable; urgency=medium
 .
   * [2216e879] New upstream version 1.6.17
     - includes JSON output
   * [c3e7185a] Add pkg-config build-dep
   * [b7064305] systemd: Drop Alias with the same name as the unit itself
     (Closes: #892366)
Checksums-Sha1:
 8631e032dc48aab1f0c4af69ddba043b25e49ee2 2071 nfdump_1.6.17-1.dsc
 7bd3ff245a0faeadfe7fbd044cc5f5e1101067f6 560889 nfdump_1.6.17.orig.tar.gz
 ffc90d370ddc201cb1633c93be1f80acb46a6934 8796 nfdump_1.6.17-1.debian.tar.xz
 5e8a298ad80ca21fb26a167c43689701d818e153 9003 nfdump_1.6.17-1_amd64.buildinfo
Checksums-Sha256:
 55ca2269d53fcdbee0cd2a9e7c24a91a5b25a327d6eeb912eb326368269b2bc3 2071 
nfdump_1.6.17-1.dsc
 f71c2c57bdcd0731b2cfecf6d45f9bf57fc7c946858644caf829f738c67c393d 560889 
nfdump_1.6.17.orig.tar.gz
 55f4c6a611127df1a9c26ed36ab53a94487c20bb0e3e3b1bf02aaebc7a8d1898 8796 
nfdump_1.6.17-1.debian.tar.xz
 fc863c800357a654939281feb6309c37c7d0ad0c493858f1d3a5891f48492648 9003 
nfdump_1.6.17-1_amd64.buildinfo
Files:
 2f8a687a80c51da2d97228a5f6872a95 2071 net optional nfdump_1.6.17-1.dsc
 95e30627750ae3798c3fb0c053b3b212 560889 net optional nfdump_1.6.17.orig.tar.gz
 d1059d5b6c784ff4c6ece85cc1b0c5f9 8796 net optional 
nfdump_1.6.17-1.debian.tar.xz
 babe04e14e874e7d57ef70064114bc51 9003 net optional 
nfdump_1.6.17-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE1uAexRal3873GVbTd1B55bhQvJMFAlreX40RHGJlcm5pQGRl
Ymlhbi5vcmcACgkQd1B55bhQvJMX4RAAloXN7dRUznYTEgzSc95gCC3d6gk4pNPb
K9fjd2Im3xTsKEuIf/UZetbnCja7gId9cAJ7Dlm6xu8J8NyMkOtsWNAzmqEKAoXH
6IcsDfIZXEi97FcUXoWdpa1YhJ0GKvLy++2l5xtnf8PC8BhBqVZPKGe+HbGI9CMx
pyQ5rcVnGwUvFVUyhRfffFgJlc3kbiQPnda7b368jMrMGKa9AJKgzmZJhQCecRi+
w0DJHeHbXXahbGqzt1RcWn02E0mhwae2+Eu7Au8NNAQoP5kqIyL9RDLovZ59Y9Ro
tCW/9zixcgTf0sudnf2JcS+oV9CvSpQ4Yndfzl0NotD1AzvXflCnwMXF2FmgY3RW
bj/zy06O82L5imZ63rnv74HwwUj+OwuwY/OdWjv/4bQs1qnKbyTHDM+agU9TY/4B
MM1L8mmnCpMbAfEapO3PYvdcLu0YKCa+D8SaMw5WF1d4pSbsyNaG3YhgLrUm4wj3
Ot0RxlLeeQ8X0UHAcR5qTZFseXYGCeckyf8KIalXLn7GK6YA5yfKmR0hX5yHIe1Z
YpoLhFkfr7asZcfIGLG4dXOnMry5InhJ6l+osNwVuQWz06lAaJSZCsEJwLSt879X
hybIi2HY3YIlWRdFTrVmeiXFYjzcHTex/1XK5Pf9F9+hasiajoPgrsPbUVZUsIGX
KbpUOSrP4Ro=
=pETe
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to