#1152863 snmptt: missing Depends on libnet-ip-perl; the default ipv6_enable = 1 stops the daemon

Package:
snmptt
Source:
snmptt
Submitter:
Daniel Ramos
Date:
2026-11-02 15:07:01 UTC
Severity:
normal
Tags:
#1152863#5
Date:
2026-11-02 13:57:05 UTC
From:
To:
Dear Maintainer,

snmptt 1.5-3 ships /etc/snmp/snmptt.ini with ipv6_enable = 1 (line 234).
With that setting /usr/sbin/snmptt needs the Perl module Net::IP (lines 519 to 529) and stops with "Could not load the Perl module Net::IP! If ipv6_enable is enabled then the Net::IP module is required." when it is missing.
The package does not depend on libnet-ip-perl, so on a system where nothing else installed it, snmptt.service fails at every start with the default configuration.
Installing libnet-ip-perl makes it start, and snmptt's own documentation lists Net::IP as required for IPv6.

The fix is one line in debian/control:
--- a/debian/control
+++ b/debian/control
@@ -14,6 +14,7 @@
 Architecture: all
 Depends:
  libconfig-inifiles-perl,
+ libnet-ip-perl,
  libsnmp-perl,
  snmptrapd,
  ${misc:Depends},

I found this with AI assistance and checked it myself on Debian forky.

Daniel Ramos

#1152863#10
Date:
2026-11-02 15:05:47 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
snmptt, 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 1152863@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christoph Berg <myon@debian.org> (supplier of updated snmptt 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 02 Nov 2026 15:50:59 +0100
Source: snmptt
Architecture: source
Version: 1.5-4
Distribution: unstable
Urgency: medium
Maintainer: Christoph Berg <myon@debian.org>
Changed-By: Christoph Berg <myon@debian.org>
Closes: 1152863
Changes:
 snmptt (1.5-4) unstable; urgency=medium
 .
   * Depend on libnet-ip-perl. (Closes: #1152863)
Checksums-Sha1:
 54c98ddb4162e686ecb4880bc8f4e7d8e0c24b99 1800 snmptt_1.5-4.dsc
 d2143e49d4e2d054100de73bf42ea88ef224510c 4716 snmptt_1.5-4.debian.tar.xz
Checksums-Sha256:
 7768b2a8273780445b765bee54d7475d36411323e03c99b8a719f4e311981f87 1800 snmptt_1.5-4.dsc
 5fdd21649adea45fc31a83af4226fabcdbdccdf572a8262d35a165682f334de5 4716 snmptt_1.5-4.debian.tar.xz
Files:
 258f4a729842e0e89a0f80d68ba42f1b 1800 net optional snmptt_1.5-4.dsc
 3a23aa1ae4bb106fcb0fd015f4316eb2 4716 net optional snmptt_1.5-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAmroo5EACgkQTFprqxLS
p65wiBAAqvfjFS+22u5WbOmTEOd5LuOrDZd8hLXFlyVKOTVu3UmncewmwYQ8fmWI
YGta6Qnqz4okUQ97/UR5XcMU5dx7zckmliDlYPJ9z0SZB2I8QX1s2kJLiidFxNXL
bM2KqZrbidPb/rOm9dyuSKk/CjVI8jmQV9KAYHlUJvg5Zy3/Hbir+gESVlZfkOGa
CaVRd36YLGtKJrfiWdiRV/AHiy61yx8ouexy2+TWAtO/+qLq5ebQzUTcz+8SGPTP
q5iJDUCUwAD9BQEgzbmje3F7zwK9cCxOe4/BWf9vBI+8zqVBSB5f37ztauslSJq6
ZnIBLBmq3F6k8mCxLezQdySi/zpcBybRucQBsY7Nj6iB1gxwEEGeq/XyqLrC1bH4
6xLUFpfN/HHNMFNhJpsSmB3THwKapxLfgh1RzBSNP8KVH8HT0rCTyBHa1MZAC48j
lQGgCkiWfp0HirZxxqPehQOi7hNEKdB2urXO1ujLSIKnS5RtjI1sE4dKPQpFPwxE
mBLSneBgOdrOvTns046dZ6G73/pRFqbZr4jvJ2vQUpI24VUI9k2xuRrbHghQ6+Yw
ur4zi/etxa4YEeOcJMTLwhMSUiHAVlrop6SAPf1m3UoPLiTCqCYhIId9ZgGvcaAM
7qEWZRv6QPITw6TzJbcsl00DWpv4FnnVzL/CSZuyRZzHrKsM4Fc=
=2F95
-----END PGP SIGNATURE-----