Project

General

Profile

Actions

Bug #2978

closed

[dbus] /etc/machine-id does not exist

Added by abyxcos about 7 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
01/21/2017
Due date:
% Done:

0%

Estimated time:

Description

DragonFly nuc 4.6-RELEASE DragonFly v4.6.1-RELEASE #3: Sun Oct 16 21:13:25 EDT 2016 :/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

Actions #1

Updated by jalal about 7 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

Actions #2

Updated by liweitianux almost 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.

Actions

Also available in: Atom PDF