[Bug 1308378] Re: No working network after 12.04 LTS -> 14.04 LTS upgrade if no /etc/resolv.conf in precise
Timo Jyrinki
timo.jyrinki at canonical.com
Thu Apr 17 12:20:32 UTC 2014
Adjusted the description, I think there's a potential problem than can
handled better from user perspective.
The proposed branch adds upgrade) preinst rule for resolvconf < 1.64,
and creates the symlink if and only if /etc/resolv.conf does not exist
at all (normal file or symlink). I've tested that it does nothing when
upgrading from newer resolvconf, and also leaves /etc/resolv.conf
untouched if it exists as a normal file or a symlink, when upgrading
from the precise version. It fixes the issue I saw on upgrade.
** Summary changed:
- 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 changed:
- At least in my case, name resolving did not work after upgrading from
- precise to trusty.
+ Name resolving did not work after upgrading from precise to trusty.
I fixed it manually with:
cd /etc
sudo ln -s /run/resolvconf/resolv.conf .
- There was no resolv.conf in /etc/ otherwise, but there was a
- /etc/resolv.conf.old which was a similar symlink to /run/.
-
- In case this cannot be reproduced, it's possible I've created the
- problem myself, but I cannot say for sure if I've touched
- /etc/resolv.conf somehow. So please check /etc/resolv.conf* before and
- after dist-upgrade, and the functionality of the network.
+ 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.
** Changed in: resolvconf (Ubuntu)
Status: Invalid => New
--
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:
No working network after 12.04 LTS -> 14.04 LTS upgrade if no
/etc/resolv.conf in precise
Status in “resolvconf” package in Ubuntu:
New
Bug description:
Name resolving did not work after upgrading from precise to trusty.
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