On Sat, 26 Apr 2014, Michael Stapelberg wrote:

> Package: base-files
> Version: 7.2
> Severity: normal
> Tags: patch
> 
> D-Bus, systemd and other programs use /etc/machine-id. Given that this
> file is per-machine and very central, it should live in base-files.
> 
> The attached patch creates the file unless it already exists. The patch
> works on Linux and should work (untested) on kFreeBSD (since linprocfs
> emulates the uuid file). The uuid file should be present in all Linux
> kernels since it lives in the same source code file that provides
> /dev/{u,}random :). On platforms where the uuid file does not exist we
> just do nothing for now.

Hmm. You say that D-Bus use this file and I see here

https://packages.debian.org/sid/dbus

that D-Bus exists for kfreebsd-* and hurd-i386.

So, either you are already generating this file in another package,
and we don't need it in base-files, or D-Bus will fail on non-Linux
systems because of the non-portable way proposed to generate it.

What's the benefit of generating the file only in Linux architectures
over letting the d-bus package itself to generate it?

In fact: What's the benefit of generating this file in base-files at all?


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to