[Bug 714904] Re: /etc/network/if-up.d/ifenslave is missing (installed under if-pre-up.d)

Mrten 714904 at bugs.launchpad.net
Tue Jun 21 09:59:55 UTC 2011


Re #14: I have tested natty (apt-get purge ifenslave-2.6; apt-get
install ifenslave-2.6) and bonding works now without additional up and
down clauses in the /etc/network/interfaces file.

Relevant section of /etc/network/interfaces (two servers connected back-
to-back with each other):

auto bond0
iface bond0 inet static
  address 192.168.111.1
  netmask 255.255.255.0
  bond-slaves eth1 eth2 eth3
  bond-mode balance-rr
  bond_arp_ip_target 192.168.111.2
  bond_arp_interval 1000
  mtu 9000

auto eth1
iface eth1 inet manual
  bond-master bond0
  mtu 9000

auto eth2
iface eth2 inet manual
  bond-master bond0
  mtu 9000

auto eth3
iface eth3 inet manual
  bond-master bond0
  mtu 9000

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

Title:
  /etc/network/if-up.d/ifenslave is missing (installed under if-pre-
  up.d)

Status in “ifenslave-2.6” package in Ubuntu:
  Fix Released
Status in “ifenslave-2.6” source package in Maverick:
  Fix Committed
Status in “ifenslave-2.6” source package in Natty:
  Fix Committed

Bug description:
  Binary package hint: ifenslave-2.6

  Install of ifenslave-2.6 on both maverick and natty results in
  creation of /etc/network/if-pre-up.d/ifenslave.dpkg-new file. This
  file contains the primary bonding config handling script so bonding is
  broken. It appears that it's believed that there's a user generated
  file, which there isn't. The only files are the ones created by the
  package install.

  rob at home-dev /etc/network $ sudo dpkg --purge ifens
  (Reading database ... 226190 files and directories currently installed.)
  Removing ifenslave-2.6 ...
  Purging configuration files for ifenslave-2.6 ...
  Processing triggers for man-db ...

  rob at home-dev /etc/network $ find . -name "*enslave*"

  rob at home-dev /etc/network $ sudo aptitude install ifenslave-2.6
  The following NEW packages will be installed:
    ifenslave-2.6
  0 packages upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
  Need to get 0 B/19.0 kB of archives. After unpacking 135 kB will be used.
  Selecting previously deselected package ifenslave-2.6.
  (Reading database ... 226180 files and directories currently installed.)
  Unpacking ifenslave-2.6 (from .../ifenslave-2.6_1.1.0-15ubuntu2_amd64.deb) ...
  Processing triggers for man-db ...
  Setting up ifenslave-2.6 (1.1.0-15ubuntu2) ...
  update-alternatives: using /sbin/ifenslave-2.6 to provide /sbin/ifenslave (ifenslave) in auto mode.
  Preserving user changes to /etc/network/if-pre-up.d/ifenslave ...

  rob at home-dev /etc/network $ find . -name "*enslave*"
  ./if-pre-up.d/ifenslave.dpkg-new
  ./if-pre-up.d/ifenslave
  ./if-post-down.d/ifenslave

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/714904/+subscriptions




More information about the foundations-bugs mailing list