[Bug 541977] Re: ifup calling dhclient when /etc/network/interfaces specifies static IP

Launchpad Bug Tracker 541977 at bugs.launchpad.net
Sun Mar 18 04:18:24 UTC 2012


[Expired for ifupdown (Ubuntu) because there has been no activity for 60
days.]

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

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

Title:
  ifup calling dhclient when /etc/network/interfaces specifies static IP

Status in “ifupdown” package in Ubuntu:
  Expired

Bug description:
  Binary package hint: ifupdown

  Upgraded Kubuntu desktop system to Karmic, KDE3.5 Remix.  Network
  Manager not installed, using one static IP address:

  $ cat /etc/network/interfaces
  auto lo
  iface lo inet loopback

  
  auto eth1
  iface eth1 inet static
  address 192.168.0.10
  netmask 255.255.255.0
  gateway 192.168.0.1

  and ifupdown version: 0.6.8ubuntu21

  Problem is, on boot _and on starting a desktop session_  the system pulls a dynamic IP using dhclient.  Running "sudo ifdown eth1", then "sudo ifup eth1" sets the IP back to .10, but dhclient then starts, and pulls a dynamic IP from the router, and exits - no leftover dhclient sitting in the process table ("ps ax | grep dh"  finds nothing.).  I know it's not a network manager problem, since that package isn't on the system, and neither is zeroconf - the ultimate workaround was to move all the dhclient executables to /sbin/dhcp - now "sudo ifup eth1" sets the .10 address and it stays put.  I noticed bug 446031, which may be related, but the version of ifupdown which is stated there as the "fix" isn't being loaded when I update the system, so I'm not sure how to get that version and test it here.
  (Anyway, /var/run/network is present on this system, so I'm not sure it's the same bug.)

  ProblemType: Bug
  Architecture: i386
  Date: Fri Mar 19 11:13:24 2010
  DistroRelease: Ubuntu 9.10
  NonfreeKernelModules: nvidia
  Package: ifupdown 0.6.8ubuntu21
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-20.57-generic-pae
  SourcePackage: ifupdown
  Uname: Linux 2.6.31-20-generic-pae i686
  XsessionErrors:
   (firefox:9023): GLib-WARNING **: g_set_prgname() called multiple times
   (polkit-gnome-authentication-agent-1:9304): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

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




More information about the foundations-bugs mailing list