[Bug 1308378] Re: Name resolving not working after 12.04 LTS -> 14.04 LTS if /etc/resolv.conf was absent

Chris J Arges 1308378 at bugs.launchpad.net
Tue Jun 17 14:09:06 UTC 2014


Hello Timo, or anyone else affected,

Accepted resolvconf into trusty-proposed. The package will build now and
be available at
http://launchpad.net/ubuntu/+source/resolvconf/1.69ubuntu1.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Tags added: verification-needed

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

Title:
  Name resolving not working after 12.04 LTS -> 14.04 LTS if
  /etc/resolv.conf was absent

Status in “resolvconf” package in Ubuntu:
  In Progress
Status in “resolvconf” source package in Trusty:
  Fix Committed
Status in “resolvconf” source package in Utopic:
  Won't Fix

Bug description:
  [Impact]

  Name resolving using the NetworkManager-controlled nameserver
  discontinues working after upgrading from 12.04 (precise) to 14.04
  (trusty) in the case where /etc/resolv.conf is absent.

  Precise works fine with that file absent because the resolver defaults
  to using "nameserver 127.0.0.1" — so it is possible to run Precise for
  a long time without even noticing that the file is absent.

  In Trusty, resolving does not work if /etc/resolv.conf is absent
  because the NetworkManager-controlled nameserver listens at 127.0.1.1.

  People suffering from bug #1000244 may lack /etc/resolv.conf on
  upgrade.

  [Test Case]

  1. Install 12.04 LTS
  2. rm /etc/resolv.conf and observe everything works fine
  3. update-manager -c -d
  4. Observe that in 14.04 LTS name resolving does not work.

  [Test Case for testing the fix on 14.04]

  1. wget http://de.archive.ubuntu.com/ubuntu/pool/main/r/resolvconf/resolvconf_1.63ubuntu16_all.deb
  2. dpkg -i resolvconf_1.63ubuntu16_all.deb
  3. Running that precise version, test the possible cases like rm /etc/resolv.conf (note you lose name resolving at this point in 14.04)
  4. Run 'bzr bd' (apt-get install bzr-builddeb first) in the proposed branch, dpkg -i ../build-area/*.deb
  5. Check how either, depending on the case being tested, /etc/resolv.conf is intact / non-touched or it's created when not-existing, restoring network connectivity

  [Regression Potential]

  Seems low considering the limiting of the proposed fix to 12.04 ->
  14.04 upgrades only, and only in the case of the user/3rd party
  app/something intentionally removed /etc/resolv.conf (instead of just
  modifying it).

  ---

  I fixed it manually with:
  cd /etc
  sudo ln -s /run/resolvconf/resolv.conf .

  It turns out 12.04 LTS works fine without /etc/resolv.conf, so that
  increases the likelihoods that 12.04 LTS systems do not have that
  file. When such a system is upgraded to 14.04 LTS, network seemingly
  stops working to the user.

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



More information about the foundations-bugs mailing list