Package: snmptt
Version: 1.5-3
Severity: important
Tags: patch

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


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 7.3.0-stereo3d13 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages snmptt depends on:
ii  libconfig-inifiles-perl     3.003000-1
ii  libsnmp-perl                5.9.5.2+dfsg-3
ii  snmptrapd                   5.9.5.2+dfsg-3
ii  systemd [systemd-sysusers]  262-1

Versions of packages snmptt recommends:
ii  perl [libsys-syslog-perl]  5.42.3-1

snmptt suggests no packages.

-- no debconf information

Reply via email to