iproute - Cannot remove /var/run/netns/namespace: Device or resource busy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iproute (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Chris J Arges | ||
Quantal |
Fix Released
|
Medium
|
Chris J Arges | ||
Raring |
Fix Released
|
Medium
|
Chris J Arges |
Bug Description
[Impact]
Trying to remove a namespace when another namespace is mounted may fail.
Upstream discussion here: http://
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
ip netns exec netns_one bash
Run this as root in another terminal:
ip netns delete netns_two
It should pass, but this fails with:
Cannot remove /var/run/
[Fix]
This patch fixes the issue:
https:/
Changed in iproute (Ubuntu): | |
status: | New → Fix Released |
Changed in iproute (Ubuntu Precise): | |
assignee: | nobody → Chris J Arges (arges) |
Changed in iproute (Ubuntu Quantal): | |
assignee: | nobody → Chris J Arges (arges) |
Changed in iproute (Ubuntu Raring): | |
assignee: | nobody → 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 |
description: | updated |
tags: |
added: verification-failed removed: verification-done |
Changed in iproute (Ubuntu Quantal): | |
status: | Fix Committed → In Progress |
Changed in iproute (Ubuntu Precise): | |
status: | Fix Committed → In Progress |
Changed in iproute (Ubuntu Raring): | |
status: | Fix Committed → In Progress |
tags: | removed: verification-failed |
packages uploaded to precise/ quantal/ raring -proposed waiting on approval