← Back to team overview

touch-packages team mailing list archive

[Bug 1387090] Re: boot breaks if /etc/machine-id is missing

 

For the record, src/core/main.c calls machine_id_setup() in main(),
which is supposed to create the file if it's missing. I haven't looked
in detail yet why that fails, but debugging from there is a good
starting point.

** Description changed:

  When no /etc/machine-id file is present the boot breaks.
  
  Once this bug is fixed we can modify live-build so that it remove /etc
- /machine-id from the generated live rootfs instead of truncating it.
+ /machine-id from the generated live rootfs instead of truncating it to a
+ zero file.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1387090

Title:
  boot breaks if /etc/machine-id is missing

Status in “systemd” package in Ubuntu:
  Triaged

Bug description:
  When no /etc/machine-id file is present the boot breaks.

  Once this bug is fixed we can modify live-build so that it remove /etc
  /machine-id from the generated live rootfs instead of truncating it to
  a zero file.

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


References