[Bug 1777900] Update Released

Ɓukasz Zemczak 1777900 at bugs.launchpad.net
Mon Oct 1 08:06:15 UTC 2018


The verification of the Stable Release Update for ubiquity has completed
successfully and the package has now been released to -updates.
Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report.  In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regressions.

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

Title:
  oem-config breaks the systemd resolved link for /etc/resolv.conf in
  18.04 server

Status in ubiquity package in Ubuntu:
  Fix Released
Status in ubiquity source package in Bionic:
  Fix Released

Bug description:
  [Impact]
  When ubuntu 18.04 server is trying to do an OEM installation using oem-config-firstboot, the  ubiquity breaks the symlink /etc/resolv.conf -> /run/systemd/resolv/stub-resolv.conf, replacing /etc/resolv.conf with a 0-byte file and thereby breaking name resolution.

  [Test Case]
  The reproducer steps:
  1. Prepare ubuntu-server with d-i version
  2. Install iso
  3. apt install oem-config ubiquity-frontend-debconf oem-config-debconf
  5. oem-config-prepare -q
  6. reboot
  7. enter oem-config and finish it
  8. check if /etc/resolv.conf is broken (actually it becomes a zero-byte file)

  [Regression potential]
  The fix is simple, merely adding a service to oem-config.target's Wants=. Even if the service somehow fails to start or is not present on a system, the other functionality of oem-config will be unaffected.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1777900/+subscriptions



More information about the foundations-bugs mailing list