[Bug 940260] Re: resolvconf should deal with corrupted dns-nameservers lines

Thomas Hood 940260 at bugs.launchpad.net
Fri Feb 24 21:12:17 UTC 2012


*** This bug is a duplicate of bug 932275 ***
    https://bugs.launchpad.net/bugs/932275

OK, obviously I have a few things to learn about using the Launchpad bug
tracking system.

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

Title:
  resolvconf should deal with corrupted dns-nameservers lines

Status in “resolvconf” package in Ubuntu:
  New

Bug description:
  Because of netcfg bug #932275, every system that was installed with
  static network configuration using the flawed netcfg originally had,
  and probably still has, a corrupted /etc/network/interface file.

  IIUC Oneiric systems are affected, not Natty or earlier ones. Someone
  please check this.

  The corruption: The string following "dns-nameservers" consists of
  arbitrary bytes instead of being the string representation of an IP
  address.

  1. We need to check ifupdown and resolvconf code, thinking about what will happen when they get fed such dns-nameservers lines.
  2. Perhaps resolvconf should check the validity of each nameserver address string fed to it. Currently it doesn't do so, even though it does some "normalization" of address strings.
  3. Perhaps the maintainer scripts should detect a flawed-netcfg-corrupted /e/n/i and either notify the admin or give her the opportunity (via debconf?) to repair the corrupted file.
  -- 
  Thomas Hood

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




More information about the foundations-bugs mailing list