Searching why firefox 2 stops working after a big portupgrade
(up from 2009017) with the message:
process 946: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/db/dbus/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
D-Bus not compiled with backtrace support so unable to print a backtrace
I found that this file ist generated by dbus-uuidgen during the
execution of pkg-install in ports/devel/dbus.
For our diskless machines /var is set up by /etc/rc.d/var which
results in a non existing directory /var/db/dbus. Fixed that
there is no automatically setup for /var/db/dbus/machine-id
as dbus-uuidgen is only executed during pkg-install.
I think the easiest way should be to add code to /usr/local/etc/rc.d/dbus
to make the directory and than call dbus-uuidgen --ensure.
This will not fix applications using dbus methods if dbus is not running.
To fix that, and possible other diskless setup problems with ports, it
may be neccessary to install a "/usr/local/etc/rc.d/diskless" which
How-To-Repeat: See the code from /etc/rc.d/var, ports/devel/dbus/pkg-install and
/usr/local/etc/rc.d/dbus. Or set up a diskless machine and look
Over to maintainer (via the GNATS Auto Assign Tool)
Patched in Marcuscom CVS. Using a patch from ports/151331.
kwm 2010-10-22 22:32:20 UTC
FreeBSD ports repository
devel/dbus Makefile distinfo
devel/dbus/files dbus.in patch-dbus-1.pc.in
Update to 1.4.0.
Fix dbus launch on diskless systems 
PR: ports/151331 , ports/132304
Submitted by: Zane C.B. <firstname.lastname@example.org> 
Revision Changes Path
1.80 +3 -3 ports/devel/dbus/Makefile
1.32 +3 -3 ports/devel/dbus/distinfo
1.17 +7 -0 ports/devel/dbus/files/dbus.in
1.2 +0 -11 ports/devel/dbus/files/patch-bus_dir-watch-kqueue.c (dead)
1.5 +4 -5 ports/devel/dbus/files/patch-dbus-1.pc.in
1.2 +14 -12 ports/devel/dbus/files/patch-dbus_dbus-connection.c
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"