-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Carlos Garnacho wrote: > On Thu, 2006-11-09 at 12:21 -0500, Joe Marcus Clarke wrote: > Carlos Garnacho wrote: >>>> Hi! >>>> >>>> On Wed, 2006-11-08 at 17:38 -0500, Joe Marcus Clarke wrote: >>>>> I'm having a pretty difficult time getting the latest >>>>> system-tools-backends to like FreeBSD. I was hoping I could get a few >>>>> questions answered. >>>>> >>>>> 1. s-t-b tries to find its D-BUS service using the system bus. However, >>>>> the system bus has no concept of service directories, so this causes >>>>> Nautilus to fail to launch since the org.freedesktop.SystemToolsBackends >>>>> service cannot be found. If I add the following to D-BUS's system.conf, >>>>> I can get over this hurdle: >>>> Ideally, the backends have to be run as root (they need it to change >>>> system configuration) by a script in /etc/dbus-1/event.d, the service >>>> file is mostly a fallback to make tools at least show something instead >>>> of failing miserably :) >>>> >>>> Sadly, due to the diversity of init script types out there, I'm not >>>> including any at the moment, so packages should provide their own. > Oh, cool. This is the first I've heard of event.d scripts. Do you have > an example for s-t-b I could look at? > >> Hmmm, after reading the DBus initscript, I now realize that it's a >> distros' artifact to raise or stop services in the system bus (HAL, >> NetworkManager, s-t-b, ...). It's the DBus initscript the one that goes >> to that directory and launches the scripts in there... > >> At least, all Linux distributions that ship DBus have it, and IIRC some >> apps already rely on /etc/dbus-1/event.d/ usage, but running s-t-b >> during init as root should be just ok. > >> I'm attaching both Ubuntu's DBus initscript and s-t-b event.d file, hope >> it's a good example :)
This is perfect. I have added a FreeBSD rc.d script to our port, and Nautilus is now coming up as before. Thanks! Joe - -- Joe Marcus Clarke FreeBSD GNOME Team :: [EMAIL PROTECTED] FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFU3m/b2iPiv4Uz4cRAnykAKCm+rLsXGfQObOyXl8KdkP3/QqkHgCeMLj1 D99nNXCq4berA023BUgFxAM= =6JaX -----END PGP SIGNATURE----- _______________________________________________ system-tools-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/system-tools-list
