Merge lp:~timo-jyrinki/ubuntu/trusty/resolvconf/fix_lp_1308378 into lp:ubuntu/trusty/resolvconf
Status: | Merged |
---|---|
Merge reported by: | Sebastien Bacher |
Merged at revision: | not available |
Proposed branch: | lp:~timo-jyrinki/ubuntu/trusty/resolvconf/fix_lp_1308378 |
Merge into: | lp:ubuntu/trusty/resolvconf |
Diff against target: |
41 lines (+20/-3) 2 files modified
debian/changelog (+9/-0) debian/preinst (+11/-3) |
To merge this branch: | bzr merge lp:~timo-jyrinki/ubuntu/trusty/resolvconf/fix_lp_1308378 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu branches | Pending | ||
Review via email:
|
Commit message
debian/preinst: On 12.04 LTS the system works without /etc/resolv.conf.
Upon upgrading such a system to 14.04 LTS network stops working.
Therefore, create a symlink upon upgrade from resolvconf <= 1.64 in the
case that /etc/resolv.conf does not exist at all. (LP: #1308378)
Description of the change
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.
setting as merged, it looks like that got uploaded (but you should check the bug report, there is a new comment that indicates the update is creating issues for some users)