[Bug 885278] Re: /etc/init/network-interface.conf should specify INTERFACE= rather than IFACE=

Launchpad Bug Tracker 885278 at bugs.launchpad.net
Fri Nov 18 01:59:41 UTC 2011


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: ifupdown (Ubuntu)
       Status: New => Confirmed

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

Title:
  /etc/init/network-interface.conf should specify INTERFACE= rather than
  IFACE=

Status in “ifupdown” package in Ubuntu:
  Confirmed

Bug description:
  The Upstart job /etc/init/network-interface.conf special-cases the
  'lo' network interface by manually emitting a net-device-up event with
  'IFACE=lo'. This is wrong and is confusing users who are specifying
  'start on net-device-up INTERFACE=eth0' for example. The result here
  is that users jobs start too early (when the *first* network interface
  comes up, rather than when *their* interface comes up!!)

  It should actually specify INTERFACE=lo since that is the name of the
  variable set in the udev message. To see this, search for
  '=<interface>' in /var/log/udev (for example search for '=eth0').

  Since a number of jobs now specify 'start on net-device-up IFACE=lo',
  I suggest we modify /etc/init/network-interface.conf to do the
  following for interface 'lo':

    initctl emit -n net-device-up IFACE=lo INTERFACE=lo LOGICAL=lo
  ADDRFAM=inet METHOD=loopback

  The correct fix would be to change IFACE to INTERFACE *and* change all
  the jobs that use IFACE, but pragmatically it is easier to add
  'INTERFACE='.

  I'll update the upstart cookbook on this topic.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: ifupdown 0.7~alpha5.1ubuntu5
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4
  Uname: Linux 3.0.0-12-generic-pae i686
  ApportVersion: 1.23-0ubuntu4
  Architecture: i386
  Date: Wed Nov  2 15:19:23 2011
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: ifupdown
  UpgradeStatus: Upgraded to oneiric on 2011-09-25 (38 days ago)

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




More information about the foundations-bugs mailing list