[Bug 1898077] Re: [conntrackd][plugin] add conntrack info
Mauricio Faria de Oliveira
1898077 at bugs.launchpad.net
Mon Nov 23 22:51:24 UTC 2020
The sosreport PRs have been merged.
For conntrack per-namespace data, we only need one patch from PR #2308.
The other patches are refactoring, not that needed for stable releases.
Attaching debdiffs.
...
I was originally a bit concerned with the rename of the conntrack_d_
plugin to conntrack (no trailing 'd') for some script that hardcoded
it, and having that change in stable releases.
However, after searching for 'ubuntu AND conntrackd' it turns out to
be very unpopular, plus results seemed to be in the Xenial timeframe,
which is not being changed here.
So I guess since it's been an upstream-backed decision, and it might
be OK to hear about use-cases if someone reports a bug about it then,
let's move on.
Just wanted to document/mention this flag here for others to comment.
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1898077
Title:
[conntrackd][plugin] add conntrack info
Status in sosreport package in Ubuntu:
In Progress
Status in sosreport source package in Bionic:
In Progress
Status in sosreport source package in Focal:
In Progress
Status in sosreport source package in Groovy:
In Progress
Bug description:
[Impact]
* The plugin conntrackd is renamed to conntrack.
* Added the following
conntrack commands to the plugin.
conntrack -L -o extended
conntrack -S
[Test Case]
* Install sosreport
* sosreport -a will exercise 'conntrack' plugin if one of the following packages installation is met: ('conntrack-tools', 'conntrack', 'conntrackd'),
* Alternative way to exercise the plugin :
** 'sosreport -o conntrack'
** 'sos report -o conntrack'
* Then a sosreport tarball will be generated under /tmp
* Extract that said tarball, and look under /path_to_sosreport/sos_commands/conntrack/
And one should see 2 new files, one for each new commands added by
this command.
[Regression Potential]
* The plugin is renamed from 'conntrackd' to 'conntrack'.
If one has a plugin_options in /etc/sos/sos.conf specific to former name 'conntrackd' (e.g skip the plugin, enable the plugin, ...) well it won't be effective anymore, and one would need to update their config file to reflect new reality of the plugin name change. But it's very uncommon to see users using such plugin options. Very unlikely to happen.
* conntrack -L -o extended
Show the connection tracking table in /proc/net/nf_conntrack format
* conntrack -S
-S, --stats
Show the in-kernel connection tracking system statistics.
The new commands addition are harmless, and if a problem arise it will
be isolated to the 'conntrack' plugin and won't affect other plugins
nor sosreport core functionalities.
[Other Info]
Closes: https://github.com/sosreport/sos/issues/2049
Origin: https://github.com/sosreport/sos/commit/e6af5287b6bde901690c58090f958960a536660a
Resolves: https://github.com/sosreport/sos/pull/2251
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1898077/+subscriptions
More information about the Ubuntu-sponsors
mailing list