startup items for dbus and dovecot2

Andrew Long andrew.long at yahoo.com
Mon Jun 6 10:59:25 PDT 2011


On 6 Jun 2011, at 18:27, Bradley Giesbrecht wrote:

> 
> On Jun 6, 2011, at 10:11 AM, Andrew Long wrote:
> 
>> 
>> On 4 Jun 2011, at 23:47, Ryan Schmidt wrote:
>> 
>>> 
>>> On Jun 4, 2011, at 17:23, Mark Hattam wrote:
>>> 
>>>> Having just done port updates for dbus and dovecot2 this evening, they both printed out similar guidance messages about startup items.
>>>> 
>>>> But I don't understand why dbus uses "launchctl load" whereas dovecot uses "port load" ... is there a difference?
>>> 
>>> <snip/>
>>> 
>>> dbus has two startup items, so it can't use MacPorts code to create them, and furthermore needs one of them started as root, the other not as root. Therefore it prints its own instructions.
>> 
>> This may be why my gnome-session fails to open a dbus connection - I did both the launchctl's under sudo; how can I 'undo' the sudo for freedesktop.dbus-session and redo it as my local user?
> 
> $ sudo launchctl unload /path/to/launchd_item.plist
> $ launchctl load /path/to/launchd_item.plist

Thanks for that - it let me get rid of the two old launchctl items and put them back in place correctly. However, it hasn't fixed the problem with gnome-session failing to start - I'm still getting the 'operation not permitted' on 'launch_msg( checkin )', and the Xserver keeps on failing and restarting until I change the name of the .x11init.d folder to something else.

Regards, Andy
-- 
Andrew Long
andrew dot long at yahoo dot com





-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 275 bytes
Desc: This is a digitally signed message part
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110606/8dd1ebfb/attachment.bin>


More information about the macports-users mailing list