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 also in package provided by package maintainer.
    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

Anonimizar Machine-id solo es una parte , los ataques que rompen a la red tor buscan algo mas concreto que pueda ser utilizado en el forence como su numero unico de ID / Software IDs Attack / SIA

Hi jonathanvlan

Welcome to the Whonix community
¡Bienvenido a la comunidad de Whonix!

Used Google translate but not sure of the accuracy.
Usé el traductor de Google pero no estoy seguro de la exactitud.

Anonymize Machine-id is only a part, the attacks that break the network are looking for something more concrete that can be used in the forence as your unique ID / Software IDs Attack / SIA number
/ proc / sys / kernel / random / boot_id


/proc/sys/kernel/random/boot_id doesn’t exist on Whonix for me but it does exist on my host (Arch). Even if it did exist, I assume it’s random as it’s in a directory called “random”.
/ proc / sys / kernel / random / boot_id no existe en Whonix para mí, pero sí existe en mi host (Arch). Incluso si existiera, asumo que es aleatorio ya que está en un directorio llamado “aleatorio”.
