Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 May 2017 04:43:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219058] devel/dbus: missing /var/db/dbus/machine-id
Message-ID:  <bug-219058-13@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: guxianjie@gmail.com
             Flags: maintainer-feedback?(gnome@FreeBSD.org)
          Assignee: gnome@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@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/Factory=
0:
=E6=97=A0=E6=B3=95=E5=9C=A8=E6=97=A0=E6=9C=BA=E5=99=A8 ID =E6=97=B6=E5=90=
=AF=E5=8A=A8=E4=B8=80=E6=9D=A1=E6=B6=88=E6=81=AF=E6=80=BB=E7=BA=BF=EF=BC=9A=
=E6=97=A0=E6=B3=95=E5=8A=A0=E8=BD=BD /var/db/dbus/machine-id =E5=92=8C
/etc/machine-id=EF=BC=9A=E6=89=93=E5=BC=80=E6=96=87=E4=BB=B6=E2=80=9C/var/d=
b/dbus/machine-id=E2=80=9D=E5=A4=B1=E8=B4=A5=EF=BC=9A=E6=96=87=E4=BB=B6=E6=
=88=96=E7=9B=AE=E5=BD=95=E4=B8=8D=E5=AD=98=E5=9C=A8
"
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()

--=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-219058-13>