[Bug 263716] devel/dbus: not allowed to own service due to security policies in configuration file

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 02 May 2022 12:58:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263716

--- Comment #2 from Slawomir Wojciech Wojtczak <vermaden@interia.pl> ---
Its 1.12.20_5.

I have just tried the patch for 1.14.0,1.

It has the same problem.

Details below.

% pkg info devel/dbus
dbus-1.14.0,1
Name           : dbus
Version        : 1.14.0,1
Installed on   : Mon May  2 14:55:46 2022 CEST
Origin         : devel/dbus
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : gnome devel
Licenses       : GPLv2
Maintainer     : desktop@FreeBSD.org
WWW            : http://www.freedesktop.org/Software/dbus
Comment        : Message bus system for inter-application communication
Options        :
        EXAMPLES       : off
        MANPAGES       : on
        X11            : on
Shared Libs required:
        libexpat.so.1
Shared Libs provided:
        libdbus-1.so.3
Annotations    :
        FreeBSD_version: 1301000
        cpe            : cpe:2.3:a:d-bus_project:d-bus:1.14.0:::::freebsd13:x64
Flat size      : 1.59MiB
Description    :
D-BUS supplies both a system daemon (for events such as "new hardware device
added" or "printer queue changed") and a per-user-login-session daemon (for
general IPC needs among user applications). Also, the message bus is built on
top of a general one-to-one message passing framework, which can be used by
any two apps to communicate directly (without going through the message bus
daemon).

WWW: http://www.freedesktop.org/Software/dbus



% caja
Could not register the application:
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Connection ":1.1" is not
allowed to own the service "org.mate.Caja" due to security policies in the
configuration file



% thunar
Failed to register: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied:
Connection ":1.2" is not allowed to own the service "org.xfce.Thunar" due to
security policies in the configuration file



% transmission-gtk
Failed to register: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied:
Connection ":1.3" is not allowed to own the service
"com.transmissionbt.transmission_11777313103303193847_36724" due to security
policies in the configuration file



% ps auxwww | grep dbus
messagebus 55474   0.0  0.0  14292  3864  -  Ss   14:56      0:00.01
/usr/local/bin/dbus-daemon --system
vermaden   62513   0.0  0.0  12920  2544  0  R+   14:57      0:00.00 grep
--color dbus



% service dbus onestatus
dbus is running as pid 55474.



Regards.

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