Package: snmptrapd Version: 5.9.3+dfsg-2 Severity: important Dear Maintainer,
The shipped /lib/systemd/system/snmptrapd.service unit file ignores both the included /etc/default/snmptrapd (only used from the initscript) and /etc/snmp/snmptrapd.conf. On top of that, since the ExecStart= line is wrong (ExecStart=/usr/sbin/snmptrapd -LOw -f udp:162 udp6:162), it is rather tricky to overcome with an override file (you have to "reset" ExecStart first). Example local "user" fix in /etc/systemd/system/snmptrapd.service.d/execstart.conf: --- [Service] ExecStart= ExecStart=/usr/sbin/snmptrapd -Cc /etc/snmp/snmptrapd.conf --- But of course, this should rather be fixed in the packaging itself, hence this ticket. Best regards. -- System Information: Debian Release: 12.9 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-28-amd64 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages snmptrapd depends on: ii init-system-helpers 1.65.2 ii libc6 2.36-9+deb12u9 ii libnetsnmptrapd40 5.9.3+dfsg-2 ii libsnmp40 5.9.3+dfsg-2 ii libwrap0 7.6.q-32 ii snmpd 5.9.3+dfsg-2 Versions of packages snmptrapd recommends: ii perl 5.36.0-7+deb12u1 snmptrapd suggests no packages. -- no debconf information