Opened 15 years ago

Closed 13 years ago

#21595 closed defect (fixed)

DBUS reports Failed to start message bus: launch_msg("CheckIn") IPC failure: Operation not permitted when dbus-daemon --session is run on snow leopord

Reported by: b1wolt@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: nicos_pavlov@…, glyph@…, alexeiz@…, alek.silverstone@…, mkae (Marko Käning)
Port: dbus

Description

dbus reports launch_msg("CheckIn") IPC failure: Operation not permitted when dbus-daemon --session is run. This makes the /Library/LaunchAgents/org.freedesktop.dbus-session.plist startup item not work.

Change History (14)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to mcalhoun@…
Port: dbus added

comment:2 Changed 15 years ago by nicos_pavlov@…

Cc: nicos_pavlov@… added

Cc Me!

comment:3 Changed 15 years ago by sharky@…

Actually I'm not sure that's what's preventing DBus from launching. I think the "Operation not permitted" error basically means that dbus-daemon was not launched by launchd (which is correct since you're launching the daemon manually).

comment:4 Changed 15 years ago by sharky@…

Resolution: fixed
Status: newclosed

I have checked and the "Operation not permitted" error is not preventing DBus from running.

I found two problem which are fixed in r59234:

  • a segmentation fault due to operations on a NULL pointer and a bad string format in a debug message
  • the OnDemand tag in org.freedesktop.dbus-session.plist does not seem to work on Snow Leopard

comment:5 Changed 15 years ago by glyph@…

Cc: glyph@… added

Cc Me!

comment:6 Changed 15 years ago by alexeiz@…

There is no way change r59234 can fix "IPC failure: Operation not permitted" problem. It's a trivial change that can fix a dbus crash at most. The problem however is not that it crashes but that it doesn't allow IPC through the socket.

comment:7 Changed 15 years ago by alexeiz@…

Cc: alexeiz@… added

Cc Me!

comment:8 Changed 14 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… added

Cc Me!

comment:9 Changed 14 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… removed

Cc Me!

comment:10 Changed 14 years ago by monty19@…

https://trac.macports.org/ticket/27555

See my comment/attachments on 27555. It seems to work with 1.4.0 - I just updated the patches so that they cleanly apply. A couple of them could use sanity checks by someone who actually knows what they're doing, but it compiles and at least seems to work ok....

comment:11 Changed 14 years ago by alek.silverstone@…

Cc: alek.silverstone@… added

Cc Me!

comment:12 Changed 13 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:13 Changed 13 years ago by mkae (Marko Käning)

Resolution: fixed
Status: closedreopened

Suddenly I have this error popping up on my system... KDE4 apps worked fine so far, now they ceased functioning due to this error.

comment:14 Changed 13 years ago by mkae (Marko Käning)

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.