Trouble updating a complex software solution
Trouble updating a complex software solution
- Subject: Trouble updating a complex software solution
- From: "Sorin Negoita" <email@hidden>
- Date: Mon, 11 Feb 2008 18:41:24 +0200
Hello,
I have a software solution formed of 3 kexts, 3 launchd daemons, 3 agents and 1 IPC mechanism used for communication between daemons and agents. I can't find a reliable way of updating this solution.
My problem appears if the new executables (or IPC files) are not compatibles anymore with the old ones. So, if I replace all files right after the download of the updates and the user restart the system, everything is OK. But if the user does not restart the system and one of my daemons or agents restarts or crashes, then the new one restarted will not be able to "talk" with the old ones (because of the incompatibilities).
Another solution is to replace all files at startup using a script or another launchd daemon, but I must be sure that this one will be executed before the execution of my daemons and agents. I couldn't find in the launchd documentation any information to make this possible, something like Startup items dependencies or MoveFileEx function from Windows. Maybe I've missed something :(
Any help would be appreciated. Thank you in advance !
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden