ifenslave can't delete interfaces from a bond
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ifenslave (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
New
|
Undecided
|
Unassigned |
Bug Description
Deleting an interface from a bond does not work and gives you an error: "$interface is not enslaved to $bond"
To reproduce:
# cat /etc/modprobe.
alias bond0 bonding
alias bond1 bonding
options bond0 mode=1 primary=em1 max_bonds=2
options bond1 mode=1 primary=em3 max_bonds=2
# modprobe bond0
# modprobe bond1
# ifenslave bond0 em1 em2
# ifenslave bond1 em3 em4
works (almost) fine, in /proc/net/
However, deleting an interface from a bond results in an error:
# ifenslave -d bond1 em4
em4: is not enslaved to bond1
em4 is still enslaved according to /proc/net/
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ifenslave 2.4ubuntu1
ProcVersionSign
Uname: Linux 3.13.0-19-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
Date: Thu Mar 27 12:28:03 2014
InstallationDate: Installed on 2014-03-26 (1 days ago)
InstallationMedia: Ubuntu-Server 13.10 "Saucy Salamander" - Release amd64 (20131016)
PackageArchitec
ProcEnviron:
LANGUAGE=en_US:en
TERM=linux
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ifenslave
UpgradeStatus: Upgraded to trusty on 2014-03-26 (1 days ago)
Changed in ifenslave (Ubuntu): | |
importance: | Undecided → High |
tags: | added: canonical-bootstack |
tags: | added: 4010 |
Status changed to 'Confirmed' because the bug affects multiple users.