Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-04-2009, 02:44 AM   #1
LQ Newbie
Registered: Oct 2008
Location: Beijing
Posts: 17

Rep: Reputation: 0
Unhappy problem:Dbus Reject send message!

I encountered a problem when send dbus method call message.Program A which runs as root user provides system-wide dbus service interfaces.When another program B with root permission send method call message to A,It received the error info:
Error org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.41" (uid=0 pid=3397 comm="dbus-send --system --print-reply --type=method_cal") ...

But when I run prgram B in generic user permission,localmachine for example,it success to send message.It confused me all the day.Is there anyone also encountered this issue? Any clue is appreciated.
Old 08-10-2009, 02:10 AM   #2
LQ Newbie
Registered: Oct 2008
Location: Beijing
Posts: 17

Original Poster
Rep: Reputation: 0
I have yet solved this issue.Just modified the configure file under /etc/dbus-1/system.d
add the following lines in ***.conf
<policy context="default">
<allow send_interface="the interface to be exported"/>
Old 08-31-2009, 04:05 PM   #3
LQ Newbie
Registered: Aug 2009
Location: Pittsboro, NC, USA
Distribution: Ubuntu
Posts: 7

Rep: Reputation: 1
Thank you very much for the follow up to your own post. I was having a similar problem, and then saw your solution. You probably saved me several days of work. Many thanks!

-- Brett


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
dbus-send question. HarryBoy Linux - Newbie 3 02-02-2010 11:39 PM
[SOLVED] -current dbus-daemon shows Reject messages danielldaniell Slackware 4 08-03-2009 03:36 AM
Problem with minicom send SMS message script nickleus Linux - Wireless Networking 3 06-25-2009 05:47 AM
Fedora Core 9 update dbus.exception & dbus.proxies & DBus.Error.AccessDenied errors trien27 Fedora 1 12-08-2008 11:23 PM
SELinux: dbus: Can't send to audit system xpucto Linux - Newbie 1 07-05-2007 04:38 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration