Anonymize /etc/machine-id

In anon-base-files, there’s an anonymous /var/lib/dbus/machine-id which is meant to be shared across multiple anonymity focused distros. It doesn’t have a /etc/machine-id though.

Is there any reason not to anonymize this as well?

If not, it should be the same as /var/lib/dbus/machine-id.

1 Like

Why doesn’t it exist on my system? Deprecated file, no longer in use? Something still using it?

Does Tails ship one?

related: https://phabricator.whonix.org/T582

Something useful inside https://www.freedesktop.org/software/systemd/man/machine-id.html?

1 Like

It exists on mine. Might be a Qubes thing?

Not that I’m aware of.

It does but they don’t seem to have done anything with it yet.


Could you please read above link (if not done already) (it talks about
the format of the file), and then implement?

1 Like

It says it’s the same format as the D-Bus machine ID (/var/lib/dbus/machine-id).


Merged. :slight_smile:


Not great during upgrades.

Setting up anon-base-files (3:3.6-1) ...

Configuration file '/etc/machine-id'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** machine-id (Y/I/N/O/D/Z) [default=N] ? 

Can we avoid this interactive dpkg conflict resolution dialog? Somehow preseed saying yes?

1 Like

Not sure. I’m not that experienced with dpkg.

1 Like