[Bug 1010439] Re: ifup fails prematurely if the same static IPv4 address was configured per kernel command line

Stéphane Graber stgraber at stgraber.org
Thu Jun 28 18:32:20 UTC 2012


The problem is that you're using "inet manual" but set an IP address.
This isn't allowed, you need to use "inet static" in such case.

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

** Changed in: ifupdown (Ubuntu)
       Status: Invalid => Incomplete

-- 
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/1010439

Title:
  ifup fails prematurely if the same static IPv4 address was configured
  per kernel command line

Status in “ifupdown” package in Ubuntu:
  Incomplete

Bug description:
  I have a system with a static network configuration, and have purged
  network-manager from the system due to bad interaction with suspend
  (which isn't subject of this bug report).

  When the system is trying to boot, it is held in the "fallback"
  Upstart job for two minutes, before it complains about an incomplete
  network configuration, and boots up with improperly configured network
  (notably, the resolv.conf is off).

  The same configuration worked properly in natty, I haven't debugged on
  oneiric but saw the same bootup delay, so this probably started
  (untested!) failing in oneiric already, while my report is against
  precise pangolin (12.04).

  A modified network configuration script (attached) reveals that ifup
  bails out when it tries to reconfigure the address and/or default
  route (unfortunately I have lost the logs, will try to reproduce and
  attach the network-interface-eth0.log file).

  Workaround: comment out the address, netmask, and gateway lines in
  /etc/network/interfaces (shown below).

  $ sudo cat /proc/cmdline
  BOOT_IMAGE=/vmlinuz-3.2.0-24-generic root=/dev/mapper/vgcrypt0-root ro ip=192.168.0.4::192.168.0.253:255.255.255.0:apollo::static nosplash verbose debug no_console_suspend nomodeset

  $ sudo cat /etc/network/interfaces
  # This file describes the network interfaces available on your system
  # and how to activate them. For more information, see interfaces(5).

  # The loopback network interface
  auto lo
  iface lo inet loopback

  # The primary network interface
  auto eth0
  iface eth0 inet manual
  	address 192.168.0.4
  	netmask 255.255.255.0
  	gateway 192.168.0.253
  	dns-nameservers 192.168.0.4
  	dns-search freebsd.org
  	post-up ethtool -s eth0 wol pg

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: ifupdown 0.7~beta2ubuntu8
  ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: amd64
  Date: Fri Jun  8 13:35:16 2012
  ProcEnviron:
   LANGUAGE=de_DE:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: ifupdown
  UpgradeStatus: Upgraded to precise on 2012-05-13 (25 days ago)

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




More information about the foundations-bugs mailing list