Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 May 2018 01:05:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 228001] devel/dbus: Applications segfault due to missing machine-id after package install
Message-ID:  <bug-228001-6497-lqdOZYSnqu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-228001-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-228001-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228001

Tobias Kortkamp <tobik@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|ports-bugs@FreeBSD.org      |gnome@FreeBSD.org
            Summary|[firefox] FreeBSD 11.1      |devel/dbus: Applications
                   |ships with broken Firefox:  |segfault due to missing
                   |seg-fault on start          |machine-id after package
                   |                            |install
                 CC|                            |tobik@freebsd.org

--- Comment #1 from Tobias Kortkamp <tobik@freebsd.org> ---
Over to devel/dbus maintainers.  This is a problem with how D-Bus is
packaged on FreeBSD and not a Firefox specific problem.  On OpenBSD the
dbus package will run `dbus-uuidgen --ensure` to generate the machine-id
file when it's installed so that D-Bus can work correctly out of the
box.  On FreeBSD the rc script takes care of it and you're expected to put
dbus_enable=3DYES into /etc/rc.conf and start D-Bus once to generate the
machine-id.

This is a common support problem (nightmare?) on the FreeBSD forums too [1].
Often seen when users try to install and run Xfce without having
`dbus_enable=3DYES` in `/etc/rc.conf`.

There would be IMHO no real downsides in putting

@postexec %%PREFIX%%/bin/dbus-uuidgen --ensure

into devel/dbus' pkg-plist on FreeBSD like on OpenBSD.

[1] https://www.google.com/search?q=3Dsite%3Aforums.freebsd.org+dbus-uuidgen

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228001-6497-lqdOZYSnqu>