[Bug 1238981] [NEW] iproute - Cannot remove /var/run/netns/namespace: Device or resource busy
Chris J Arges
1238981 at bugs.launchpad.net
Fri Oct 11 21:46:57 UTC 2013
Public bug reported:
[Impact]
Trying to remove a namespace when another namespace is mounted may fail.
Upstream discussion here: http://comments.gmane.org/gmane.linux.network/240795
This affects P/Q/R, but is fixed in S.
[Test Case]
Run this as root in one terminal:
ip netns add netns_one
ip netns add netns_two
ip link add name if_one type veth peer name if_one_peer
ip link add name if_two type veth peer name if_two_peer
ip link set dev if_one_peer netns netns_one
ip link set dev if_two_peer netns netns_two
Run this as root in another terminal:
ip netns delete netns_two
It should pass, but this fails with:
Cannot remove /var/run/netns/netns_two: Device or resource busy
[Fix]
This patch fixes the issue:
https://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/commit/?id=58a3e8270fe72f8ed92687d3a3132c2a708582dd
** Affects: iproute (Ubuntu)
Importance: Undecided
Status: Fix Released
** Affects: iproute (Ubuntu Precise)
Importance: Medium
Assignee: Chris J Arges (arges)
Status: In Progress
** Affects: iproute (Ubuntu Quantal)
Importance: Medium
Assignee: Chris J Arges (arges)
Status: In Progress
** Affects: iproute (Ubuntu Raring)
Importance: Medium
Assignee: Chris J Arges (arges)
Status: In Progress
** Also affects: iproute (Ubuntu Precise)
Importance: Undecided
Status: New
** Also affects: iproute (Ubuntu Quantal)
Importance: Undecided
Status: New
** Also affects: iproute (Ubuntu Raring)
Importance: Undecided
Status: New
** Changed in: iproute (Ubuntu)
Status: New => Fix Released
** Changed in: iproute (Ubuntu Precise)
Assignee: (unassigned) => Chris J Arges (arges)
** Changed in: iproute (Ubuntu Quantal)
Assignee: (unassigned) => Chris J Arges (arges)
** Changed in: iproute (Ubuntu Raring)
Assignee: (unassigned) => Chris J Arges (arges)
** Changed in: iproute (Ubuntu Precise)
Importance: Undecided => Medium
** Changed in: iproute (Ubuntu Quantal)
Importance: Undecided => Medium
** Changed in: iproute (Ubuntu Raring)
Importance: Undecided => Medium
** Changed in: iproute (Ubuntu Precise)
Status: New => Triaged
** Changed in: iproute (Ubuntu Quantal)
Status: New => Triaged
** Changed in: iproute (Ubuntu Raring)
Status: New => Triaged
** Changed in: iproute (Ubuntu Precise)
Status: Triaged => In Progress
** Changed in: iproute (Ubuntu Quantal)
Status: Triaged => In Progress
** Changed in: iproute (Ubuntu Raring)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to iproute in Ubuntu.
https://bugs.launchpad.net/bugs/1238981
Title:
iproute - Cannot remove /var/run/netns/namespace: Device or resource
busy
Status in “iproute” package in Ubuntu:
Fix Released
Status in “iproute” source package in Precise:
In Progress
Status in “iproute” source package in Quantal:
In Progress
Status in “iproute” source package in Raring:
In Progress
Bug description:
[Impact]
Trying to remove a namespace when another namespace is mounted may fail.
Upstream discussion here: http://comments.gmane.org/gmane.linux.network/240795
This affects P/Q/R, but is fixed in S.
[Test Case]
Run this as root in one terminal:
ip netns add netns_one
ip netns add netns_two
ip link add name if_one type veth peer name if_one_peer
ip link add name if_two type veth peer name if_two_peer
ip link set dev if_one_peer netns netns_one
ip link set dev if_two_peer netns netns_two
Run this as root in another terminal:
ip netns delete netns_two
It should pass, but this fails with:
Cannot remove /var/run/netns/netns_two: Device or resource busy
[Fix]
This patch fixes the issue:
https://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/commit/?id=58a3e8270fe72f8ed92687d3a3132c2a708582dd
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iproute/+bug/1238981/+subscriptions
More information about the foundations-bugs
mailing list