2021-04-13 19:55:23 |
Eric Desrochers |
bug |
|
|
added bug |
2021-04-13 19:56:17 |
Eric Desrochers |
nominated for series |
|
Ubuntu Bionic |
|
2021-04-13 19:56:17 |
Eric Desrochers |
bug task added |
|
sosreport (Ubuntu Bionic) |
|
2021-04-13 19:57:52 |
Eric Desrochers |
tags |
|
seg sts |
|
2021-04-13 19:58:58 |
Eric Desrochers |
description |
[Impact]
We don't want sosreport to triger kernel module to load.
This is causing Bionic autopkgtest to fails on 4.15 kernel.
simple.sh will report a failure:
"new kernel modules loaded during execution"
[Test case]
On a 4.15 kernel (Bionic)
root@srv:~# lsmod | grep -i devlink
root@srv:~# sos report -o networking
root@srv:~# lsmod | grep -i devlink
devlink 45056 0
Not reproducible on Bionic w/ 5.4 kernel for instance
Reason:
config-4.15.0-140-generic:CONFIG_MAY_USE_DEVLINK=m
config-5.4.0-70-generic:CONFIG_NET_DEVLINK=y
CONFIG_MAY_USE_DEVLINK:
Drivers using the devlink infrastructure should have a dependency on MAY_USE_DEVLINK to ensure they do not cause link errors when devlink is a loadable module and the driver using it is built-in.
[Where problem could occur]
[Other information]
Upstream issues:
https://github.com/sosreport/sos/issues/2468 |
[Impact]
We don't want sosreport to possibly trigger kernel module to load.
This is causing Bionic autopkgtest to fails on 4.15 series kernel.
'simple.sh' will report a failure:
"new kernel modules loaded during execution"
[Test case]
On a 4.15 kernel (Bionic)
root@srv:~# lsmod | grep -i devlink
root@srv:~# sos report -o networking
root@srv:~# lsmod | grep -i devlink
devlink 45056 0
Not reproducible on Bionic w/ 5.4 kernel for instance
Reason:
config-4.15.0-140-generic:CONFIG_MAY_USE_DEVLINK=m
config-5.4.0-70-generic:CONFIG_NET_DEVLINK=y
CONFIG_MAY_USE_DEVLINK:
Drivers using the devlink infrastructure should have a dependency on MAY_USE_DEVLINK to ensure they do not cause link errors when devlink is a loadable module and the driver using it is built-in.
[Where problem could occur]
[Other information]
Upstream issues:
https://github.com/sosreport/sos/issues/2468 |
|
2021-04-13 19:59:22 |
Eric Desrochers |
summary |
[sos41] networking plugin may invoke devlink module when not loaded depending on how the kernel is configure |
[sos41] networking plugin may invoke devlink module when not loaded depending on how the kernel is configured |
|
2021-04-13 20:00:22 |
Eric Desrochers |
summary |
[sos41] networking plugin may invoke devlink module when not loaded depending on how the kernel is configured |
[sos41][networking] May invoke devlink module when not loaded depending on how the kernel is configured |
|
2021-04-13 20:00:38 |
Eric Desrochers |
nominated for series |
|
Ubuntu Focal |
|
2021-04-13 20:00:38 |
Eric Desrochers |
bug task added |
|
sosreport (Ubuntu Focal) |
|
2021-04-13 20:00:38 |
Eric Desrochers |
nominated for series |
|
Ubuntu Groovy |
|
2021-04-13 20:00:38 |
Eric Desrochers |
bug task added |
|
sosreport (Ubuntu Groovy) |
|
2021-04-13 20:00:38 |
Eric Desrochers |
nominated for series |
|
Ubuntu Hirsute |
|
2021-04-13 20:00:38 |
Eric Desrochers |
bug task added |
|
sosreport (Ubuntu Hirsute) |
|
2021-04-13 20:18:44 |
Eric Desrochers |
description |
[Impact]
We don't want sosreport to possibly trigger kernel module to load.
This is causing Bionic autopkgtest to fails on 4.15 series kernel.
'simple.sh' will report a failure:
"new kernel modules loaded during execution"
[Test case]
On a 4.15 kernel (Bionic)
root@srv:~# lsmod | grep -i devlink
root@srv:~# sos report -o networking
root@srv:~# lsmod | grep -i devlink
devlink 45056 0
Not reproducible on Bionic w/ 5.4 kernel for instance
Reason:
config-4.15.0-140-generic:CONFIG_MAY_USE_DEVLINK=m
config-5.4.0-70-generic:CONFIG_NET_DEVLINK=y
CONFIG_MAY_USE_DEVLINK:
Drivers using the devlink infrastructure should have a dependency on MAY_USE_DEVLINK to ensure they do not cause link errors when devlink is a loadable module and the driver using it is built-in.
[Where problem could occur]
[Other information]
Upstream issues:
https://github.com/sosreport/sos/issues/2468 |
[Impact]
We don't want sosreport to possibly trigger kernel module to load. It might be the case depending on the running kernel configuration.
As a side note, this is also causing Bionic autopkgtest to fails as it is tested w/ 4.15 series kernel by default. 'simple.sh' will report a failure as follows:
"new kernel modules loaded during execution"
[Test case]
On a 4.15 kernel (Bionic)
On a bare metal system:
root@srv:~# lsmod | grep -i devlink
root@srv:~# sos report -o networking
root@srv:~# lsmod | grep -i devlink
devlink 45056 0
Not reproducible on Bionic w/ 5.4 kernel for instance
Reason:
config-4.15.0-140-generic:CONFIG_MAY_USE_DEVLINK=m
config-5.4.0-70-generic:CONFIG_NET_DEVLINK=y
CONFIG_MAY_USE_DEVLINK:
Drivers using the devlink infrastructure should have a dependency on MAY_USE_DEVLINK to ensure they do not cause link errors when devlink is a loadable module and the driver using it is built-in.
[Where problem could occur]
[Other information]
Upstream issues:
https://github.com/sosreport/sos/issues/2468 |
|
2021-04-13 20:24:10 |
Eric Desrochers |
sosreport (Ubuntu Hirsute): assignee |
|
Eric Desrochers (slashd) |
|
2021-04-13 20:24:13 |
Eric Desrochers |
sosreport (Ubuntu Hirsute): status |
New |
In Progress |
|
2021-04-14 18:49:53 |
Eric Desrochers |
description |
[Impact]
We don't want sosreport to possibly trigger kernel module to load. It might be the case depending on the running kernel configuration.
As a side note, this is also causing Bionic autopkgtest to fails as it is tested w/ 4.15 series kernel by default. 'simple.sh' will report a failure as follows:
"new kernel modules loaded during execution"
[Test case]
On a 4.15 kernel (Bionic)
On a bare metal system:
root@srv:~# lsmod | grep -i devlink
root@srv:~# sos report -o networking
root@srv:~# lsmod | grep -i devlink
devlink 45056 0
Not reproducible on Bionic w/ 5.4 kernel for instance
Reason:
config-4.15.0-140-generic:CONFIG_MAY_USE_DEVLINK=m
config-5.4.0-70-generic:CONFIG_NET_DEVLINK=y
CONFIG_MAY_USE_DEVLINK:
Drivers using the devlink infrastructure should have a dependency on MAY_USE_DEVLINK to ensure they do not cause link errors when devlink is a loadable module and the driver using it is built-in.
[Where problem could occur]
[Other information]
Upstream issues:
https://github.com/sosreport/sos/issues/2468 |
[Impact]
sos's networking plugin may to trigger the devlink kernel module to load. We don't want sos to modify/change/alter the state of a machine whatsoever, especially during troubleshooting. But it may be the case for the networking plugin, depending on the running kernel configuration.
As a side note, this is also causing Bionic autopkgtest to fails as it is tested w/ 4.15 series kernel by default. 'simple.sh' (sos testsuite part of the autopkgtest) will report a failure as follows:
"new kernel modules loaded during execution"
[Test case]
On a 4.15 kernel (Bionic)
On a bare metal system:
root@srv:~# lsmod | grep -i devlink
root@srv:~# sos report -o networking
root@srv:~# lsmod | grep -i devlink
devlink 45056 0
Not reproducible on Bionic w/ 5.4 kernel for instance
Reason:
config-4.15.0-140-generic:CONFIG_MAY_USE_DEVLINK=m
config-5.4.0-70-generic:CONFIG_NET_DEVLINK=y
CONFIG_MAY_USE_DEVLINK:
Drivers using the devlink infrastructure should have a dependency on MAY_USE_DEVLINK to ensure they do not cause link errors when devlink is a loadable module and the driver using it is built-in.
[Where problem could occur]
[Other information]
Upstream issues:
https://github.com/sosreport/sos/issues/2468 |
|
2021-04-14 18:50:25 |
Eric Desrochers |
description |
[Impact]
sos's networking plugin may to trigger the devlink kernel module to load. We don't want sos to modify/change/alter the state of a machine whatsoever, especially during troubleshooting. But it may be the case for the networking plugin, depending on the running kernel configuration.
As a side note, this is also causing Bionic autopkgtest to fails as it is tested w/ 4.15 series kernel by default. 'simple.sh' (sos testsuite part of the autopkgtest) will report a failure as follows:
"new kernel modules loaded during execution"
[Test case]
On a 4.15 kernel (Bionic)
On a bare metal system:
root@srv:~# lsmod | grep -i devlink
root@srv:~# sos report -o networking
root@srv:~# lsmod | grep -i devlink
devlink 45056 0
Not reproducible on Bionic w/ 5.4 kernel for instance
Reason:
config-4.15.0-140-generic:CONFIG_MAY_USE_DEVLINK=m
config-5.4.0-70-generic:CONFIG_NET_DEVLINK=y
CONFIG_MAY_USE_DEVLINK:
Drivers using the devlink infrastructure should have a dependency on MAY_USE_DEVLINK to ensure they do not cause link errors when devlink is a loadable module and the driver using it is built-in.
[Where problem could occur]
[Other information]
Upstream issues:
https://github.com/sosreport/sos/issues/2468 |
[Impact]
sos's networking plugin may to trigger the devlink kernel module to load. We don't want sos to modify/change/alter the state of a machine whatsoever, especially during troubleshooting. But it may be the case for the networking plugin, depending on the running kernel configuration.
As a side note, this is also causing Bionic autopkgtest to fails as it is tested w/ 4.15 series kernel by default. 'simple.sh' (sos testsuite part of the autopkgtest) will report a failure as follows:
"new kernel modules loaded during execution"
[Test case]
On a 4.15 kernel (Bionic)
On a bare metal system:
root@srv:~# lsmod | grep -i devlink
root@srv:~# sos report -o networking
root@srv:~# lsmod | grep -i devlink
devlink 45056 0
Not reproducible on Bionic w/ 5.4 kernel for instance
Reason:
config-4.15.0-140-generic:CONFIG_MAY_USE_DEVLINK=m
config-5.4.0-70-generic:CONFIG_NET_DEVLINK=y
CONFIG_MAY_USE_DEVLINK:
Drivers using the devlink infrastructure should have a dependency on MAY_USE_DEVLINK to ensure they do not cause link errors when devlink is a loadable module and the driver using it is built-in.
[Where problem could occur]
[Other information]
Upstream issues:
https://github.com/sosreport/sos/commit/e7801c5bf50d129f93559f8c459a3c96bba1375e |
|
2021-05-03 15:54:20 |
Launchpad Janitor |
sosreport (Ubuntu): status |
In Progress |
Fix Released |
|
2021-05-20 13:34:51 |
Eric Desrochers |
sosreport (Ubuntu Groovy): status |
New |
In Progress |
|
2021-05-20 13:34:53 |
Eric Desrochers |
sosreport (Ubuntu Focal): status |
New |
In Progress |
|
2021-05-20 13:34:56 |
Eric Desrochers |
sosreport (Ubuntu Bionic): status |
New |
In Progress |
|
2021-05-20 13:34:58 |
Eric Desrochers |
sosreport (Ubuntu Bionic): assignee |
|
Eric Desrochers (slashd) |
|
2021-05-20 13:35:00 |
Eric Desrochers |
sosreport (Ubuntu Focal): assignee |
|
Eric Desrochers (slashd) |
|
2021-05-20 13:35:02 |
Eric Desrochers |
sosreport (Ubuntu Groovy): assignee |
|
Eric Desrochers (slashd) |
|
2021-06-08 19:49:42 |
Heitor Alves de Siqueira |
sosreport (Ubuntu Bionic): assignee |
Eric Desrochers (slashd) |
Heitor Alves de Siqueira (halves) |
|
2021-06-08 19:49:44 |
Heitor Alves de Siqueira |
sosreport (Ubuntu Focal): assignee |
Eric Desrochers (slashd) |
Heitor Alves de Siqueira (halves) |
|
2021-06-08 19:49:45 |
Heitor Alves de Siqueira |
sosreport (Ubuntu Groovy): assignee |
Eric Desrochers (slashd) |
Heitor Alves de Siqueira (halves) |
|
2021-06-08 19:49:47 |
Heitor Alves de Siqueira |
sosreport (Ubuntu Hirsute): assignee |
Eric Desrochers (slashd) |
Heitor Alves de Siqueira (halves) |
|
2021-06-08 19:51:17 |
Eric Desrochers |
description |
[Impact]
sos's networking plugin may to trigger the devlink kernel module to load. We don't want sos to modify/change/alter the state of a machine whatsoever, especially during troubleshooting. But it may be the case for the networking plugin, depending on the running kernel configuration.
As a side note, this is also causing Bionic autopkgtest to fails as it is tested w/ 4.15 series kernel by default. 'simple.sh' (sos testsuite part of the autopkgtest) will report a failure as follows:
"new kernel modules loaded during execution"
[Test case]
On a 4.15 kernel (Bionic)
On a bare metal system:
root@srv:~# lsmod | grep -i devlink
root@srv:~# sos report -o networking
root@srv:~# lsmod | grep -i devlink
devlink 45056 0
Not reproducible on Bionic w/ 5.4 kernel for instance
Reason:
config-4.15.0-140-generic:CONFIG_MAY_USE_DEVLINK=m
config-5.4.0-70-generic:CONFIG_NET_DEVLINK=y
CONFIG_MAY_USE_DEVLINK:
Drivers using the devlink infrastructure should have a dependency on MAY_USE_DEVLINK to ensure they do not cause link errors when devlink is a loadable module and the driver using it is built-in.
[Where problem could occur]
[Other information]
Upstream issues:
https://github.com/sosreport/sos/commit/e7801c5bf50d129f93559f8c459a3c96bba1375e |
[Impact]
sos's networking plugin may trigger the devlink kernel module to load. We don't want sos to modify/change/alter the state of a machine whatsoever, especially during troubleshooting. But it may be the case for the networking plugin, depending on the running kernel configuration.
As a side note, this is also causing Bionic autopkgtest to fails as it is tested w/ 4.15 series kernel by default. 'simple.sh' (sos testsuite part of the autopkgtest) will report a failure as follows:
"new kernel modules loaded during execution"
[Test case]
On a 4.15 kernel (Bionic)
On a bare metal system:
root@srv:~# lsmod | grep -i devlink
root@srv:~# sos report -o networking
root@srv:~# lsmod | grep -i devlink
devlink 45056 0
Not reproducible on Bionic w/ 5.4 kernel for instance
Reason:
config-4.15.0-140-generic:CONFIG_MAY_USE_DEVLINK=m
config-5.4.0-70-generic:CONFIG_NET_DEVLINK=y
CONFIG_MAY_USE_DEVLINK:
Drivers using the devlink infrastructure should have a dependency on MAY_USE_DEVLINK to ensure they do not cause link errors when devlink is a loadable module and the driver using it is built-in.
[Where problem could occur]
[Other information]
Upstream issues:
https://github.com/sosreport/sos/commit/e7801c5bf50d129f93559f8c459a3c96bba1375e |
|
2021-06-08 20:23:32 |
Heitor Alves de Siqueira |
sosreport (Ubuntu Bionic): importance |
Undecided |
Medium |
|
2021-06-08 20:23:34 |
Heitor Alves de Siqueira |
sosreport (Ubuntu Groovy): importance |
Undecided |
Medium |
|
2021-06-08 20:23:36 |
Heitor Alves de Siqueira |
sosreport (Ubuntu Hirsute): importance |
Undecided |
Medium |
|
2021-06-08 20:23:40 |
Heitor Alves de Siqueira |
sosreport (Ubuntu Focal): importance |
Undecided |
Medium |
|
2021-06-10 18:22:59 |
Heitor Alves de Siqueira |
description |
[Impact]
sos's networking plugin may trigger the devlink kernel module to load. We don't want sos to modify/change/alter the state of a machine whatsoever, especially during troubleshooting. But it may be the case for the networking plugin, depending on the running kernel configuration.
As a side note, this is also causing Bionic autopkgtest to fails as it is tested w/ 4.15 series kernel by default. 'simple.sh' (sos testsuite part of the autopkgtest) will report a failure as follows:
"new kernel modules loaded during execution"
[Test case]
On a 4.15 kernel (Bionic)
On a bare metal system:
root@srv:~# lsmod | grep -i devlink
root@srv:~# sos report -o networking
root@srv:~# lsmod | grep -i devlink
devlink 45056 0
Not reproducible on Bionic w/ 5.4 kernel for instance
Reason:
config-4.15.0-140-generic:CONFIG_MAY_USE_DEVLINK=m
config-5.4.0-70-generic:CONFIG_NET_DEVLINK=y
CONFIG_MAY_USE_DEVLINK:
Drivers using the devlink infrastructure should have a dependency on MAY_USE_DEVLINK to ensure they do not cause link errors when devlink is a loadable module and the driver using it is built-in.
[Where problem could occur]
[Other information]
Upstream issues:
https://github.com/sosreport/sos/commit/e7801c5bf50d129f93559f8c459a3c96bba1375e |
[Impact]
sos's networking plugin may trigger the devlink kernel module to load. We don't want sos to modify/change/alter the state of a machine whatsoever, especially during troubleshooting. But it may be the case for the networking plugin, depending on the running kernel configuration.
As a side note, this is also causing Bionic autopkgtest to fails as it is tested w/ 4.15 series kernel by default. 'simple.sh' (sos testsuite part of the autopkgtest) will report a failure as follows:
"new kernel modules loaded during execution"
[Test case]
On a 4.15 kernel (Bionic)
On a bare metal system:
root@srv:~# lsmod | grep -i devlink
root@srv:~# sos report -o networking
root@srv:~# lsmod | grep -i devlink
devlink 45056 0
Not reproducible on Bionic w/ 5.4 kernel for instance
Reason:
config-4.15.0-140-generic:CONFIG_MAY_USE_DEVLINK=m
config-5.4.0-70-generic:CONFIG_NET_DEVLINK=y
CONFIG_MAY_USE_DEVLINK:
Drivers using the devlink infrastructure should have a dependency on MAY_USE_DEVLINK to ensure they do not cause link errors when devlink is a loadable module and the driver using it is built-in.
[Where problem could occur]
The fix first checks for /sys/class/devlink before adding the devlink commands to the networking plugin. If this path changes in future kernels, or it becomes possible to collect devlink information without this path being present, we'll miss that information in sosreports. It's also possible that in future kernels, additional modules get loaded due to the devlink commands, so we should also be on the lookout for those changing the system state between sos executions.
The above are very unlikely scenarios in any case, and we should get previous notice of such changes. The patchset will also be tested with the now fixed autopkgtests, and that should give a bit more confidence in the fixes.
[Other information]
This is fixed by upstream commit:
- c90315e23c57 "[networking] check for the presence of devlink"
Upstream issues:
https://github.com/sosreport/sos/commit/e7801c5bf50d129f93559f8c459a3c96bba1375e |
|
2021-07-12 15:29:31 |
Dariusz Gadomski |
bug |
|
|
added subscriber Dariusz Gadomski |
2021-07-12 15:41:40 |
Heitor Alves de Siqueira |
attachment added |
|
lp1923661-b.debdiff https://bugs.launchpad.net/ubuntu/focal/+source/sosreport/+bug/1923661/+attachment/5510563/+files/lp1923661-b.debdiff |
|
2021-07-12 15:42:02 |
Heitor Alves de Siqueira |
attachment added |
|
lp1923661-f.debdiff https://bugs.launchpad.net/ubuntu/focal/+source/sosreport/+bug/1923661/+attachment/5510564/+files/lp1923661-f.debdiff |
|
2021-07-12 15:42:15 |
Heitor Alves de Siqueira |
attachment added |
|
lp1923661-g.debdiff https://bugs.launchpad.net/ubuntu/focal/+source/sosreport/+bug/1923661/+attachment/5510565/+files/lp1923661-g.debdiff |
|
2021-07-12 15:42:25 |
Heitor Alves de Siqueira |
attachment added |
|
lp1923661-h.debdiff https://bugs.launchpad.net/ubuntu/focal/+source/sosreport/+bug/1923661/+attachment/5510566/+files/lp1923661-h.debdiff |
|
2021-07-16 09:43:20 |
Dariusz Gadomski |
sosreport (Ubuntu Groovy): status |
In Progress |
Won't Fix |
|
2021-07-19 14:26:18 |
Łukasz Zemczak |
sosreport (Ubuntu Hirsute): status |
In Progress |
Fix Committed |
|
2021-07-19 14:26:21 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2021-07-19 14:26:22 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2021-07-19 14:26:25 |
Łukasz Zemczak |
tags |
seg sts |
seg sts verification-needed verification-needed-hirsute |
|
2021-07-19 14:27:17 |
Łukasz Zemczak |
sosreport (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2021-07-19 14:27:21 |
Łukasz Zemczak |
tags |
seg sts verification-needed verification-needed-hirsute |
seg sts verification-needed verification-needed-focal verification-needed-hirsute |
|
2021-07-19 14:58:58 |
Łukasz Zemczak |
sosreport (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2021-07-19 14:59:03 |
Łukasz Zemczak |
tags |
seg sts verification-needed verification-needed-focal verification-needed-hirsute |
seg sts verification-needed verification-needed-bionic verification-needed-focal verification-needed-hirsute |
|
2021-07-23 00:41:54 |
Mathew Hodson |
sosreport (Ubuntu): importance |
Undecided |
Medium |
|
2021-07-28 13:59:24 |
Heitor Alves de Siqueira |
tags |
seg sts verification-needed verification-needed-bionic verification-needed-focal verification-needed-hirsute |
seg sts verification-done-bionic verification-needed verification-needed-focal verification-needed-hirsute |
|
2021-07-28 14:01:43 |
Heitor Alves de Siqueira |
tags |
seg sts verification-done-bionic verification-needed verification-needed-focal verification-needed-hirsute |
seg sts verification-done-bionic verification-done-focal verification-needed verification-needed-hirsute |
|
2021-07-28 14:10:56 |
Heitor Alves de Siqueira |
tags |
seg sts verification-done-bionic verification-done-focal verification-needed verification-needed-hirsute |
seg sts verification-done verification-done-bionic verification-done-focal verification-done-hirsute |
|
2021-08-02 13:28:22 |
Launchpad Janitor |
sosreport (Ubuntu Hirsute): status |
Fix Committed |
Fix Released |
|
2021-08-02 13:28:27 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2021-08-02 13:50:41 |
Launchpad Janitor |
sosreport (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2021-08-02 14:00:59 |
Launchpad Janitor |
sosreport (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|