Segfaulting Firefox on FreeBSD

Software

I tried to start Firefox on a fresh FreeBSD install, and nothing happened. Running it form xterm, I saw this:

process 0000: 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.
Segmentation fault (core dumped)

I was about ready to write a bug report for dbus, before I realised I hadn't even started it. Derp!

To enable it in rc.conf and start:

# echo 'dbus_enable="YES"' >> /etc/rc.conf
# service dbus start

Otherwise:

# service dbus onestart

Now Firefox starts.

Author bio and support

Me!

Ruben Schade is a technical writer and IaaS engineer in Sydney, Australia who refers to himself in the third person in bios. Wait, not BIOS… my brain should be EFI by now.

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or buy some silly merch. Thanks!