Name resolving not working after 12.04 LTS -> 14.04 LTS if /etc/resolv.conf was absent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
resolvconf (Ubuntu) |
Won't Fix
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
Utopic |
Won't Fix
|
High
|
Unassigned |
Bug Description
[Impact]
Name resolving using the NetworkManager-
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-
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://
2. dpkg -i resolvconf_
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
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.
Related branches
- Ubuntu branches: Pending requested
-
Diff: 41 lines (+20/-3)2 files modifieddebian/changelog (+9/-0)
debian/preinst (+11/-3)
summary: |
- No working network (= name resolving) after 12.04 LTS -> 14.04 LTS - upgrade + No working network after 12.04 LTS -> 14.04 LTS upgrade if no + /etc/resolv.conf in precise |
description: | updated |
Changed in resolvconf (Ubuntu): | |
status: | Invalid → New |
description: | updated |
description: | updated |
Changed in resolvconf (Ubuntu Trusty): | |
milestone: | none → trusty-updates |
importance: | Undecided → High |
status: | New → Triaged |
summary: |
- No working network after 12.04 LTS -> 14.04 LTS upgrade if no - /etc/resolv.conf in precise + Name resolving not working after 12.04 LTS -> 14.04 LTS if + /etc/resolv.conf was absent |
Changed in resolvconf (Ubuntu): | |
status: | In Progress → Won't Fix |
Changed in resolvconf (Ubuntu): | |
milestone: | trusty-updates → none |
Changed in resolvconf (Ubuntu Utopic): | |
milestone: | trusty-updates → none |
This bug has been reported on the Ubuntu ISO testing tracker.
A list of all reports related to this bug can be found here: iso.qa. ubuntu. com/qatracker/ reports/ bugs/1308378
http://