[Bug 218750] devel/dbus: X11 fails to start because /etc/machine-id missing under 10.3 RELEASE 2017Q2

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 13 Dec 2022 14:48:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218750

Alex Richardson <arichardson@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Closed                      |Open
                 CC|                            |arichardson@FreeBSD.org
         Resolution|Feedback Timeout            |---

--- Comment #3 from Alex Richardson <arichardson@FreeBSD.org> ---
It looks like there is a lot of software that hardcodes /etc/machine-id
(https://codesearch.debian.net/search?q=%2Fetc%2Fmachine-id&literal=1) and I'm
not sure if all of them have a fallback to /var/lib/dbus/machine-id. According
to https://www.freedesktop.org/software/systemd/man/machine-id.html machine-id
does not necessarily have to be the same as /var/lib/dbus/machine-id, but as a
simple solution, would a symlink from /etc to /var/lib/dbus work? This would be
similar to /etc/os-release?

Or maybe it makes more sense to generate this file with a firstboot script?


Debian codesearch packages that reference the string /etc/machine-id:
```
kopanocore
golang-github-containers-toolbox
bolt
apparmor
cadvisor
distrobox
quassel
qtsystems-opensource-src
python-diskimage-builder
spectre-meltdown-checker
debian-edu-fai
libjcat
network-manager
facterdb
mono
golang-github-coreos-go-systemd
golang-github-crowdsecurity-machineid
godot
golang-github-smallstep-cli
guestfs-tools
olive-editor
ruby-dbus
glib2.0
cruft-ng
open-infrastructure-system-tools
gnome-software
ironic
cinnamon-settings-daemon
systemd
libconfig-model-systemd-perl
kubernetes
flatpak
bubblewrap
dracut
keyman
tuned
charliecloud
slic3r-prusa
facter
cadical
piuparts
ltsp
ukui-panel
freedom-maker
qt6-base
ruby-train
obus
openqa
open-infrastructure-compute-tools
sicherboot
dbus-broker
dbus
libfirefox-marionette-perl
mmdebstrap
game-data-packager
qt6-webengine
packer
torbrowser-launcher
xpra
golang-github-go-debos-fakemachine
guix
python-werkzeug
lvm2
e17
plasma-discover
libvirt
fever
fai
pcp
manpages-l10n
qtbase-opensource-src-gles
fcitx5
public-inbox
snapd
debian-lan-config
logdata-anomaly-miner
golang-github-jouyouyun-hardware
sosreport
live-build
deja-dup
vagrant-libvirt
rust-zbus
s390-tools
golang-github-rs-xid
gnunet
debci
installation-birthday
gobject-introspection
calamares
ohai
icingadb
python-systemd
onioncircuits
cockpit
linux
ibus
fwupd
ricochet-im
qutebrowser
libigloo
rdiff-backup
kiwi
crowdsec
ansible-core
sdbus-cpp
docker-systemctl-replacement
fusioninventory-agent
kdevelop
magnum
mkosi
salt
debootstrap
waagent
qtwebengine-opensource-src
remmina
ostree
rust-libsystemd
apt
aide
kstars
avahi
gnome-tweaks
debuerreotype
nova
calamares-settings-debian
qtbase-opensource-src
wsdd2
elogind
lynis
golang-dbus
iortcw
chromium
```

-- 
You are receiving this mail because:
You are the assignee for the bug.