[haiku-commits] Re: haiku: hrev49517 - data/launch

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 08 Aug 2015 22:24:58 +0200

Am 08/08/2015 um 04:06 schrieb anevilyak@xxxxxxxxx:

hrev49517 adds 1 changeset to branch 'master'
old head: f79c173b422f17e78291a0d3b379037816b86cec
new head: fdc32a38447b489450b0f816219fcc0bd65a70b2
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=fdc32a38447b+%5Ef79c173b422f

----------------------------------------------------------------------------

fdc32a38447b: Launch configuration: Fix #12289.

- Adjust launch configuration such that media_server requires mount_server.
Otherwise, if the user has specified sound files for any events that are
on non-boot disks, these won't be found/loaded properly during the boot
process.
[...]
service x-vnd.Haiku-media_server {
+ requires x-vnd.Haiku-mount_server

That's not a safe way to do this; the media server doesn't depend on a running mount_server, but on the fact that the latter has mounted the initial volumes.

Since the mount_server fires a notification when that happens, you should probably start the media server only then:

service x-vnd.Haiku-media_server {
on initial_volumes_mounted
...
}

Tracker and Deskbar are already using this method.

Bye,
Axel.

Other related posts: