[MacPorts] #35795: dbus launching problems
#35795: dbus launching problems ---------------------------+------------------------------------------------ Reporter: egor7@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: dbus ---------------------------+------------------------------------------------ Install(Upgrade) DBUS: $ sudo port install dbus {{{ ---> Computing dependencies for dbus ---> Fetching archive for dbus ---> Attempting to fetch dbus-1.4.20_1+startupitem.darwin_10.x86_64.tbz2 from http://packages.macports.org/dbus ---> Attempting to fetch dbus-1.4.20_1+startupitem.darwin_10.x86_64.tbz2.rmd160 from http://packages.macports.org/dbus ---> Installing dbus @1.4.20_1+startupitem ---> Deactivating dbus @1.4.20_1+startupitem+universal ---> Cleaning dbus ---> Activating dbus @1.4.20_1+startupitem ############################################################################ # Startup items have been generated that will aid in # starting dbus with launchd. They are disabled # by default. Execute the following command to start them, # and to cause them to launch at startup: # # sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus- system.plist # launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus- session.plist ############################################################################ ---> Cleaning dbus ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found. }}} then trying to activate: $ launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus- session.plist {{{ Bug: launchctl.c:2344 (25952):13: (dbfd = open(g_job_overrides_db_path, O_RDONLY | O_EXLOCK | O_CREAT, S_IRUSR | S_IWUSR)) != -1 launchctl: CFURLWriteDataAndPropertiesToResource(/Library/LaunchAgents/org.freedesktop .dbus-session.plist) failed: -10 launch_msg(): Socket is not connected }}} -- Ticket URL: <https://trac.macports.org/ticket/35795> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35795: dbus launching problems ---------------------------+------------------------------------------------ Reporter: egor7@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: dbus ---------------------------+------------------------------------------------ Comment(by pixilla@…): The dbus port has to launchd plists. Did you first load system plist? {{{ sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus- system.plist launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist }}} -- Ticket URL: <https://trac.macports.org/ticket/35795#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35795: dbus launching problems ---------------------------+------------------------------------------------ Reporter: egor7@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: dbus ---------------------------+------------------------------------------------ Comment(by egor7@…): Replying to [comment:1 pixilla@…]:
The dbus port has to launchd plists. Did you first load system plist? {{{ sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus- system.plist launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus- session.plist }}} yes, I do, but with no any effects - dbus-system launched perfectly, but session is not. Session must be loaded from user, not from sudo, all correct, but it fails.
-- Ticket URL: <https://trac.macports.org/ticket/35795#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35795: dbus launching problems ----------------------+-------------------------------- Reporter: egor7@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: dbus | ----------------------+-------------------------------- Changes (by and.damore@…): * cc: and.damore@… (added) Comment: [http://code.google.com/p/iterm2/issues/detail?id=997 This issue] suggest it's related to environment. Are you using screen? If so from ports or apple's? Are you using tmux? If so with tmux-pasteboard port? Did you reboot since installing dbus or did you unload previously running LaunchDaemons/LaunchAgents plists? What happens if you unload before loading? {{{ launchctl unload -w /Library/LaunchAgents/org.freedesktop.dbus- session.plist launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus- session.plist }}} identifier should be the same so you should be able to unload the previously loaded plist. -- Ticket URL: <https://trac.macports.org/ticket/35795#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35795: dbus launching problems ----------------------+------------------------ Reporter: egor7@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: dbus | ----------------------+------------------------ Changes (by and.damore@…): * owner: macports-tickets@… => mcalhoun@… -- Ticket URL: <https://trac.macports.org/ticket/35795#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35795: dbus launching problems ----------------------+------------------------ Reporter: egor7@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: dbus | ----------------------+------------------------ Comment (by egor7@…): I've tried to reboot, no screen, no tmux, ant it works! Ticket may be closed. Thanks for attantion! -- Ticket URL: <https://trac.macports.org/ticket/35795#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35795: dbus launching problems -------------------------+------------------------ Reporter: egor7@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: worksforme | Keywords: Port: dbus | -------------------------+------------------------ Changes (by and.damore@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/35795#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35795: dbus launching problems -------------------------+------------------------ Reporter: egor7@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: worksforme | Keywords: Port: dbus | -------------------------+------------------------ Comment (by dusan.maliarik@…): @and.damore@macports.org How could I use meld from within tmux then? I made a diff of environment variables and nothing interesting related to dbus was found. -- Ticket URL: <https://trac.macports.org/ticket/35795#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#35795: dbus launching problems -------------------------+------------------------ Reporter: egor7@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: worksforme | Keywords: Port: dbus | -------------------------+------------------------ Comment (by and.damore@…): Replying to [comment:8 dusan.maliarik@…]:
@and.damore@macports.org
This isn't Twitter.
How could I use meld from within tmux then? I made a diff of environment variables and nothing interesting related to dbus was found.
I have no clue what you're talking about, if it is related to this ticket you'll have to elaborate more. -- Ticket URL: <https://trac.macports.org/ticket/35795#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts