[gobolinux-devel] new recipes for DBus and HAL
Jonatan Liljedahl
lijon at kymatica.com
Mon Feb 19 23:38:10 UTC 2007
Jonatan Liljedahl wrote:
> Jonatan Liljedahl wrote:
>> Here's updated recipes for DBus and HAL, with working tasks. I renamed
>> them to "MessageBus" and "HAL". (It's not good to have a task named
>> "hald" when the binary is also called "hald"!)
>> They also include the correct default settings, I hope...
>>
>> At least my system started them when I booted this time, with "StartTask
>> MessageBus" and "StartTask HAL" in the BootUp script.
>> I hope they remove their pid files when I reboot next time, or they will
>> not be restarted. I messed around quite a bit with this, but I hope it
>> works now...
>
> It didn't work, it seems DBus doesn't remove it's pid file when killed!
> And it won't start again if you don't remove it... Fixed it by removing
> it before starting dbus in the MessageBus task. New recipe attached...
Oh, and now I found this in the dbus manual:
DESCRIPTION
The dbus-uuidgen command generates or reads a universally unique ID. See
http://www.freedesktop.org/software/dbus/ for more information
about D-Bus.
The primary usage of dbus-uuidgen is to run in the post-install script
of a D-Bus package like this:
dbus-uuidgen --ensure
This will ensure that /var/lib/dbus/machine-id exists and has the uuid
in it. It won't overwrite an existing uuid, since this id should
remain fixed for a single machine until the next reboot at least.
------------------cut---------------
should probably be included in the Recipe's post_install hook... =)
--
/Jonatan -=( http://kymatica.com )=-
More information about the gobolinux-devel
mailing list