[freebsd] [dbus] failed to read machine uuid

Irina Liakh spell at itl.ua
Mon Jan 22 00:41:47 EET 2018


On Mon, Jan 22, 2018 at 12:26:26AM +0200, George L. Yermulnik wrote:
> 
> On Mon, 22 Jan 2018 at 00:31:06 (+0200), Irina Liakh wrote:
> 
> > После установки (с нуля) 11.1-RELEASE и пакетов обнаружилось, что файлик
> > /var/lib/dbus/machine-id, так нужный dbus'у, не существует.
> > Пофиксилось командой "dbus-uuidgen --ensure", но, судя по manpage,
> > эта команда должна быть в инит-скрпите. Почему же он не отработал
> > при установке пакета?
> 
> А должен _ли_ был отработать при установке пакета, а не при старте сервиса dbus?

man dbus-uuidgen:

       The primary usage of dbus-uuidgen is to run in the post-install script
       of a D-Bus package like this:

             dbus-uuidgen --ensure

И к тому же, если стартовать dbus, он как раз и ругается на отстутствие этого
файла (я не пробовала запускать сам dbus, запускала firefox, который пытался
запустить dbus):

process 1475: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/etc/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
  D-Bus not built with -rdynamic so unable to print a backtrace



More information about the freebsd mailing list