Bug 218812

Summary: textproc/ibus: IBUS-WARNING **: Unable to load /var/db/dbus/machine-id: Failed to open file '/var/db/dbus/machine-id': No such file or directory
Product: Ports & Packages Reporter: Tatsuki Makino <tatsuki_makino>
Component: Individual Port(s)Assignee: Raphael Kubo da Costa <rakuco>
Status: Closed FIXED    
Severity: Affects Only Me CC: eoffer, henry.hu.sh, rakuco
Priority: --- Flags: henry.hu.sh: maintainer-feedback+
rakuco: merge-quarterly+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
remove patch for dbus machine-id path henry.hu.sh: maintainer-approval+

Description Tatsuki Makino 2017-04-22 12:32:48 UTC
https://svnweb.freebsd.org/ports?view=revision&revision=431187 has changed a directory for machine-id.
So s|/var/lib/dbus|/var/db/dbus|g is not needed.
Comment 1 Henry Hu 2017-04-23 01:48:29 UTC
Created attachment 182008 [details]
remove patch for dbus machine-id path

Thanks for reporting. This patch removes the sed operation to change the machine-id's path.
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-04-30 10:58:32 UTC
A commit references this bug:

Author: rakuco
Date: Sun Apr 30 10:58:18 UTC 2017
New revision: 439799
URL: https://svnweb.freebsd.org/changeset/ports/439799

Log:
  Drop machine-id path substitution in post-patch.

  r431187 stopped using a non-default path for dbus's machine-id file, so the sed
  call here is unnecessary and produces warnings at runtime:

    IBUS-WARNING **: Unable to load /var/db/dbus/machine-id: Failed to open file
    '/var/db/dbus/machine-id': No such file or directory

  PR:		218812
  Submitted by:	Tatsuki Makino <tatsuki_makino@hotmail.com>
  Approved by:	Henry Hu <henry.hu.sh@gmail.com> (maintainer)
  MFH:		2017Q2

Changes:
  head/textproc/ibus/Makefile
Comment 3 Raphael Kubo da Costa freebsd_committer freebsd_triage 2017-04-30 11:41:20 UTC
Committed, thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2017-04-30 13:14:20 UTC
A commit references this bug:

Author: rakuco
Date: Sun Apr 30 13:13:36 UTC 2017
New revision: 439816
URL: https://svnweb.freebsd.org/changeset/ports/439816

Log:
  MFH: r439799

  Drop machine-id path substitution in post-patch.

  r431187 stopped using a non-default path for dbus's machine-id file, so the sed
  call here is unnecessary and produces warnings at runtime:

    IBUS-WARNING **: Unable to load /var/db/dbus/machine-id: Failed to open file
    '/var/db/dbus/machine-id': No such file or directory

  PR:		218812
  Submitted by:	Tatsuki Makino <tatsuki_makino@hotmail.com>
  Approved by:	Henry Hu <henry.hu.sh@gmail.com> (maintainer)

  Approved by:	ports-secteam (miwi)

Changes:
_U  branches/2017Q2/
  branches/2017Q2/textproc/ibus/Makefile
Comment 5 bugfree 2019-12-23 18:37:17 UTC
(process:2748): IBUS-WARNING **: 02:27:33.349: Unable to load /var/lib/dbus/machine-id: Failed to open file ?/var/lib/dbus/machine-id?: No such file or directory

(process:2748): GVFS-RemoteVolumeMonitor-WARNING **: 02:27:33.357: remote volume monitor with dbus name org.gtk.vfs.HalVolumeMonitor is not supported
mozc-jp
root@ssum:~ # ibus engine

(process:2749): IBUS-WARNING **: 02:28:00.794: Unable to load /var/lib/dbus/machine-id: Failed to open file ?/var/lib/dbus/machine-id?: No such file or directory

(process:2749): GVFS-RemoteVolumeMonitor-WARNING **: 02:28:00.801: remote volume monitor with dbus name org.gtk.vfs.HalVolumeMonitor is not supported
mozc-jp
Comment 6 Tatsuki Makino 2019-12-23 22:10:26 UTC
(In reply to bugfree from comment #5)

Probably it. → Bug 225098