Bug#798551: marked as done (/usr/sbin/pmacctd: pmacct -M and -N queries fail on exact matches when using in-memory tables)
Your message dated Tue, 28 Oct 2025 01:32:32 +0100
with message-id <aQAPIOp0LO3dECyv@fliwatuet.svr02.mucip.net>
and subject line Re: Bug#798551: (no subject)
has caused the Debian Bug report #798551,
regarding /usr/sbin/pmacctd: pmacct -M and -N queries fail on exact matches when using in-memory tables
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 owner@bugs.debian.org
immediately.)
--
798551: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798551
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: /usr/sbin/pmacctd: pmacct -M and -N queries fail on exact matches when using in-memory tables
- From: Thomas Jepp <reg@tomjepp.co.uk>
- Date: Thu, 10 Sep 2015 14:22:45 +0100
- Message-id: <20150910132245.18864.932.reportbug@nigoki.corp.incyber.eu>
Package: pmacct
Version: 1.5.0-4
Severity: normal
File: /usr/sbin/pmacctd
Dear Maintainer,
I'm using pmacctd configured as so:
! pmacctd configuration
!
!
!
daemonize: true
pidfile: /var/run/pmacctd.pid
syslog: daemon
!
! interested in in and outbound traffic
aggregate[in]: dst_mac
aggregate[out]: src_mac
! on this interface
interface: eth0
!
plugins: memory[in], memory[out]
plugin_pipe_size: 10240000
plugin_buffer_size: 10240
imt_path[in]: /tmp/eth0-in.pipe
imt_path[out]: /tmp/eth0-out.pipe
When I view the list of entries using "pmacct -p /tmp/eth0-in.pipe -s" I see something like:
DST_MAC PACKETS BYTES
00:16:3e:48:33:91 370 27986
00:16:3e:18:49:67 1966 210362
....
This is as expected.
When I try to query for a single MAC address using "pmacct -p /tmp/eth0-in.pipe -c dst_mac -M '00:16:3e:18:49:67'", I get:
DST_MAC PACKETS BYTES
For a total of: 0 entries
The MAC address is in the full list - but an exact match fails.
This has already been fixed upstream. See this commit: https://github.com/paololucente/pmacct/commit/f8bbe871d0518f6b7b34dda5790d2e735336d02a
-- System Information:
Debian Release: 8.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages pmacct depends on:
ii dpkg 1.17.25
ii init-system-helpers 1.22
ii libc6 2.19-18+deb8u1
ii libgeoip1 1.6.2-4
ii libjansson4 2.7-1
ii libmysqlclient18 5.5.44-0+deb8u1
ii libpcap0.8 1.6.2-2
ii libpq5 9.4.4-0+deb8u1
ii librabbitmq1 0.5.2-2
ii libsqlite3-0 3.8.7.1-1+deb8u1
ii libstdc++6 4.9.2-10
ii lsb-base 4.1+Debian13+nmu1
ii net-tools 1.60-26+b1
ii psmisc 22.21-2
ii zlib1g 1:1.2.8.dfsg-2+b1
pmacct recommends no packages.
pmacct suggests no packages.
-- Configuration Files:
/etc/pmacct/pmacctd.conf [Errno 2] No such file or directory: u'/etc/pmacct/pmacctd.conf'
-- no debconf information
--- End Message ---
--- Begin Message ---
- To: 798551-done@bugs.debian.org
- Subject: Re: Bug#798551: (no subject)
- From: Bernhard Schmidt <berni@debian.org>
- Date: Tue, 28 Oct 2025 01:32:32 +0100
- Message-id: <aQAPIOp0LO3dECyv@fliwatuet.svr02.mucip.net>
- In-reply-to: <55F1911D.9020600@tomjepp.co.uk>
- References: <55F1911D.9020600@tomjepp.co.uk>
Version: 1.6.0-1
On 10/09/15 03:18 PM, Thomas Jepp wrote:
> The version in testing does not have this issue.
Testing at that time must have been 1.6.0-1. Closing accordingly.
Bernhard
--- End Message ---
Reply to: