Bug #2978
closed[dbus] /etc/machine-id does not exist
0%
Description
DragonFly nuc 4.6-RELEASE DragonFly v4.6.1-RELEASE #3: Sun Oct 16 21:13:25 EDT 2016 root@www.shiningsilence.com:/usr/obj/home/justin/release/4_6/sys/X86_64_GENERIC x86_64
After grabbing dbus from packages, /etc/machine-id is not created. I wasn't able to track down which package/component exactly should be responsible for this file, but dbus won't do anything without it present and filled. It's easy enough to fill it with 32 zeros, but having a "real" id generated automatically would be nice.
The man page for /etc/machine-id isn't very useful either: https://www.freedesktop.org/software/systemd/man/machine-id.html
Updated by jalal almost 8 years ago
Hello,
You can run:
dbus-genuuid > /etc/machine-id
to get a real machine ID, until it is done automatically. Same case with FreeBSD and OpenBSD btw.
Regards,
Jalal
Updated by liweitianux over 5 years ago
- Status changed from New to Resolved
If one starts dbus via the installed rc script (/usr/local/etc/rc.d/dbus), e.g., 'rcenable dbus', the rc script will automatically create the 'machine-id' file at /var/lib/dbus/machine-id.