selftests: test_vxlan_under_vrf: mute unnecessary error message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
linux (Ubuntu) |
Fix Released
|
Low
|
Po-Hsu Lin | ||
Focal |
Fix Released
|
Low
|
Po-Hsu Lin | ||
Groovy |
Fix Released
|
Low
|
Po-Hsu Lin | ||
Hirsute |
Fix Released
|
Low
|
Po-Hsu Lin |
Bug Description
[Impact]
The cleanup function in the selftests/
script that tries to delete hv-1 / hv-2 and vm-1 / vm-2 netns will
generate some unnecessary error messages:
Cannot remove namespace file "/run/netns/hv-2": No such file or directory
Cannot remove namespace file "/run/netns/vm-1": No such file or directory
Cannot remove namespace file "/run/netns/vm-2": No such file or directory
Redirect it to /dev/null like other commands in the cleanup function
to reduce confusion.
[Fix]
* 0e12c0271887f1 ("selftests: test_vxlan_
This script exists in selftests/net since Focal, and this patch can be
cherry-picked into all affected series.
[Test]
Run this script directly, these unnecessary error message won't be
printed anymore.
[Where problems could occur]
As this change is quite straightforward, I don't think anything bad
would happen. And even it did happen, this change is limited to testing
tool so it should be fine.
CVE References
description: | updated |
tags: | added: focal groovy hirsute |
description: | updated |
Changed in linux (Ubuntu Focal): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in linux (Ubuntu Groovy): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in linux (Ubuntu Hirsute): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
status: | New → In Progress |
Changed in linux (Ubuntu Focal): | |
status: | New → In Progress |
Changed in linux (Ubuntu Groovy): | |
status: | New → In Progress |
Changed in linux (Ubuntu Hirsute): | |
status: | New → In Progress |
Changed in linux (Ubuntu Hirsute): | |
importance: | Undecided → Low |
Changed in linux (Ubuntu Groovy): | |
importance: | Undecided → Low |
Changed in linux (Ubuntu Focal): | |
importance: | Undecided → Low |
Changed in linux (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Groovy): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-kernel-tests: | |
status: | In Progress → Fix Released |
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- groovy' to 'verification- done-groovy' . If the problem still exists, change the tag 'verification- needed- groovy' to 'verification- failed- groovy' .
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!