Public bug reported:

[Impact]
The cleanup function in the selftests/net/test_vxlan_under_vrf.sh 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_under_vrf: mute unnecessary error 
message")

This script exists since Focal, and this patch can be cherry-picked into
all affected series.

[Test]
Run this script directly, the 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.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Focal)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Groovy)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Hirsute)
     Importance: Undecided
         Status: New


** Tags: focal groovy hirsute

** Also affects: linux (Ubuntu Groovy)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Hirsute)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Focal)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1908342

Title:
  selftests: test_vxlan_under_vrf: mute unnecessary error message

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1908342/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to