From: Matthias Fischer <matthias.fischer@ipfire.org>
To: development@lists.ipfire.org
Subject: 'iptables 1.8.3' => 'collectd' needs updated lib
Date: Tue, 10 Sep 2019 20:33:54 +0200 [thread overview]
Message-ID: <fe121cdb-5d67-6680-ab16-dadcd438ebcc@ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2141 bytes --]
Hi,
during testing of 'iptables 1.8.3' - see
https://patchwork.ipfire.org/patch/2401/ I found that the graphs for
"firewallhits" in "Network (other)" stayed emtpy with "-nan Bps".
During restart 'makegraphs' complained about a missing lib for 'iptables':
root(a)ipfire: /var # /etc/init.d/collectd restart
Stopping Collection daemon... [ OK ]
Mounting RRD ramdisk... [ OK ]
Starting Collection daemon...
lt_dlopen ("/usr/lib/collectd/iptables.so") failed: file not found. The
most common cause for this problem are missing dependencies. Use ldd(1)
to check the dependencies of the plugin / shared object.
Unable to load plugin iptables. [ OK ]
'ldd' showed 'not found', because during updating 'iptables' the
'libip4tc' and 'libip6tc'-symlinks were changed, but
'/usr/lib/collectd/iptables.so' wasn't updated:
root(a)ipfire: /usr/lib/collectd # ldd /usr/lib/collectd/iptables.so
linux-gate.so.1 (0xb7f42000)
libiptc.so.0 => /lib/libiptc.so.0 (0xb7f2b000)
libip4tc.so.0 => not found
libip6tc.so.0 => not found
libc.so.6 => /lib/libc.so.6 (0xb7d61000)
libip4tc.so.2 => /lib/libip4tc.so.2 (0xb7d58000)
libip6tc.so.2 => /lib/libip6tc.so.2 (0xb7d4f000)
/lib/ld-linux.so.2 (0xb7f44000)
After updating '/usr/lib/collectd/iptables.so' to the current build it
didn't complain anymore:
root(a)ipfire: /usr/lib/collectd # ldd iptables.so
linux-gate.so.1 (0xb7f8a000)
libiptc.so.0 => /lib/libiptc.so.0 (0xb7f72000)
libip4tc.so.2 => /lib/libip4tc.so.2 (0xb7f69000)
libip6tc.so.2 => /lib/libip6tc.so.2 (0xb7f60000)
libc.so.6 => /lib/libc.so.6 (0xb7d96000)
/lib/ld-linux.so.2 (0xb7f8c000)
'makegraphs' restarted without errors and "firewallhits graph" are
showing numbers again. So far, so good.
But: how do we ship this update for 'collectd' the best way?
Should we update ALL libs for 'collectd'?
I checked the other libs, and besides 'iptables.so', 'ldd' showed no
more 'not found'-errors.
Any hints?
Best,
Matthias
next reply other threads:[~2019-09-10 18:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-10 18:33 Matthias Fischer [this message]
2019-09-11 15:08 ` Michael Tremer
2019-09-11 15:25 ` Matthias Fischer
2019-09-11 15:27 ` Michael Tremer
2019-09-11 16:14 ` Matthias Fischer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fe121cdb-5d67-6680-ab16-dadcd438ebcc@ipfire.org \
--to=matthias.fischer@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox