Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Reply messages never received in possibly odd use of D-BUS: msg#00133

freedesktop.dbus

Subject: Reply messages never received in possibly odd use of D-BUS

Hi!

First of all, I'm still on D-BUS 0.22 on FC3, sorry about that! :-/

I am trying to create a system where clients can register themselves
with a daemon providing a D-BUS service, and then later get calls from
the daemon on a specific interface.

The daemon interface has a "Subscribe" method that uses
dbus_message_get_sender() to know where to make calls later.

Everything works fine _except_ when I try to send a reply (created with
dbus_message_new_method_return) from a client to the daemon. The reply
is never received by the daemon and I see this in dbus-monitor:

error name=org.freedesktop.DBus.Error.AccessDenied;
sender=org.freedesktop.DBus
string:A security policy in place prevents this sender from sending this
message to this recipient, see message bus configuration file (rejected
message had interface "(unset)" member "(unset)" error name
"org.freedesktop.DBus.Error.UnknownMethod" destination ":1.10")

I have no idea why I should get an "UnknownMethod" error!

It feels like I have tried everything in my dbus configuration file
(using the system bus btw) but the AccessDenied message suggests I
haven't.

Unless someone can pinpoint my error directly, I'll create a minimal
test case to reproduce this.

--
Regards,
-\- David Eriksson -/-

SynCE - http://synce.sourceforge.net
ScummVM - http://scummvm.sourceforge.net
Desquirr - http://desquirr.sourceforge.net



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | advertise | OSDir is an inevitable website. super tiny logo