lueschem / edi-cl

This repository contains an edi project configuration for Compulab embedded devices.
https://www.get-edi.io
Other
10 stars 2 forks source link

Identical machine-id on multiple devices #20

Closed lueschem closed 2 years ago

lueschem commented 3 years ago

Problem Description

Despite the deletion of /etc/machine-id during the image build it was observed that the machine-id is identical on multiple device instances.

Root Cause

There is a "redundant" copy of /etc/machine-id in /var/lib/dbus/machine-id. During the first boot /etc/machine-id gets derived from /var/lib/dbus/machine-id.

Solution

Also delete /var/lib/dbus/machine-id during image build.