[Bug 219058] devel/dbus: missing /var/db/dbus/machine-id
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu May 4 04:43:52 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219058
Bug ID: 219058
Summary: devel/dbus: missing /var/db/dbus/machine-id
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: gnome at FreeBSD.org
Reporter: guxianjie at gmail.com
Flags: maintainer-feedback?(gnome at FreeBSD.org)
Assignee: gnome at FreeBSD.org
pkg info dbus
dbus-1.10.14_2
Name : dbus
Version : 1.10.14_2
Installed on : Tue May 2 20:00:40 2017 CST
Origin : devel/dbus
Architecture : FreeBSD:11:amd64
Prefix : /usr/local
Categories : gnome devel
Licenses : GPLv2
Maintainer : gnome at FreeBSD.org
WWW : http://www.freedesktop.org/Software/dbus
Comment : Message bus system for inter-application communication
When i try to run gnome-terminal, I get error like this "
Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0:
无法在无机器 ID 时启动一条消息总线:无法加载 /var/db/dbus/machine-id 和
/etc/machine-id:打开文件“/var/db/dbus/machine-id”失败:文件或目录不存在
"
I notice dbus_poststop() in /usr/local/etc/rc.d/dbus run like this "
rm -f $pidfile
# The following two lines may be removed after 2018-01-01
rm -f /var/db/dbus/machine-id
[ ! -d /var/db/dbus ] || rmdir /var/db/dbus
"
so I think it's better to add "
mkdir -p /var/db/dbus/
/usr/local/bin/dbus-uuidgen > /var/db/dbus/machine-id
" in dbus_prestart()
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list