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 Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1908342

Title:
  selftests: test_vxlan_under_vrf: mute unnecessary error message

Status in linux package in Ubuntu:
  New
Status in linux source package in Focal:
  New
Status in linux source package in Groovy:
  New
Status in linux source package in Hirsute:
  New

Bug description:
  [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.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to