boot breaks if /etc/machine-id is missing

Bug #1387090 reported by Michael Vogt
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Fix Released
Medium
Didier Roche-Tolomelli

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.

Tags: systemd-boot
Martin Pitt (pitti)
summary: - boot breaks if /etc/machine-id iis missing
+ boot breaks if /etc/machine-id is missing
Michael Vogt (mvo)
description: updated
Martin Pitt (pitti)
description: updated
Michael Vogt (mvo)
description: updated
Martin Pitt (pitti)
Changed in systemd (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Martin Pitt (pitti)
tags: added: systemd-boot
Revision history for this message
Martin Pitt (pitti) wrote :

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: updated
Martin Pitt (pitti)
Changed in systemd (Ubuntu):
assignee: nobody → Didier Roche (didrocks)
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :
Changed in systemd (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

The patch series for this landed upstream now. For bonus points let's create an autopkgtest for this.

Changed in systemd (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 218-2ubuntu3

---------------
systemd (218-2ubuntu3) vivid; urgency=medium

  * core-Put-session-scopes-into-all-cgroup-controllers.patch: Revert upstream
    commit 02ba8fb3357d to fix eternal kernel deep sleep hangs when unmounting
    an ntfs-3g partition. (LP: #1398859)
 -- Martin Pitt <email address hidden> Thu, 18 Dec 2014 13:32:49 +0100

Changed in systemd (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.