[Bug 940260] Re: resolvconf should deal with corrupted dns-nameservers lines
Steve Langasek
steve.langasek at canonical.com
Fri Feb 24 20:42:01 UTC 2012
*** This bug is a duplicate of bug 932275 ***
https://bugs.launchpad.net/bugs/932275
no reason to have this as a separate bug. Marking this as a duplicate
of bug #932275, and opening a resolvconf task there.
** This bug has been marked a duplicate of bug 932275
Bogus or no nameserver information written to /etc/network/interfaces
--
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