[Bug 1646585] Re: oem-config replaces /etc/resolv.conf symlink with a hard file

John Spiller 1646585 at bugs.launchpad.net
Wed May 24 16:10:36 UTC 2017


The latest ubiquity I see for xenial is 2.21.63, and its netcfg-common.c
looks unfixed:


void reap_old_files (void)
{
    static char* remove[] =
        { INTERFACES_FILE, HOSTS_FILE, HOSTNAME_FILE, NETWORKS_FILE,
          RESOLV_FILE, DHCLIENT_CONF, DOMAIN_FILE, 0 };
    char **ptr = remove;

    while (*ptr)
        unlink(*ptr++);
}

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netcfg in Ubuntu.
https://bugs.launchpad.net/bugs/1646585

Title:
  oem-config replaces /etc/resolv.conf symlink with a hard file

Status in Nvidia:
  New
Status in netcfg package in Ubuntu:
  Fix Released
Status in ubiquity package in Ubuntu:
  Fix Released
Status in netcfg source package in Xenial:
  Fix Committed
Status in ubiquity source package in Xenial:
  Triaged
Status in netcfg source package in Zesty:
  Fix Released
Status in ubiquity source package in Zesty:
  Fix Released

Bug description:
  The DGX server install process uses oem-config to setup certain
  settings.  We are seeing that oem-config-firstboot is replacing the
  /etc/resolv.conf symlink to /run/resolvconf/resolv.conf with a hard
  file at /etc/resolv.conf.

  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-firstboot, and find that the symlink is no longer there when
  that is done.

  We have to run "sudo dpkg-reconfigure resolvconf" to restore that
  symlink.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nvidia/+bug/1646585/+subscriptions



More information about the foundations-bugs mailing list