oem-config replaces /etc/resolv.conf symlink with a hard file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nvidia |
New
|
Undecided
|
Unassigned | ||
netcfg (Ubuntu) |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre | ||
Xenial |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre | ||
Yakkety |
Won't Fix
|
Undecided
|
Unassigned | ||
Zesty |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre | ||
ubiquity (Ubuntu) |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre | ||
Xenial |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre | ||
Zesty |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre |
Bug Description
[Impact]
This breaks oem-config installs because after running oem-config-
[Test case]
The DGX server install process uses oem-config to setup certain settings. We are seeing that oem-config-
This was confirmed by booting in single user mode after a fresh install, and seeing the symlink is still there. Then go thru oem-config-
We have to run "sudo dpkg-reconfigure resolvconf" to restore that symlink.
[Regression potential]
This may regress by failing to recognize a case where resolvconf is not in use, or triggering a false-positive (resolvconf is not in use, by an install is tricked into thinking it is and removes resolv.conf). Corruption of /etc/resolv.conf or /run/resolvconf
Related branches
information type: | Proprietary → Public |
tags: | added: zesty |
Changed in ubiquity (Ubuntu Zesty): | |
importance: | Undecided → High |
importance: | High → Medium |
tags: | removed: sts-sponsor |
It looks like the oem-config network plugin calls netcfg, and one of the first things that does is unlink resolv.conf (reap_old_files()). Is there an alternative to netcfg when using oem-config?