• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Trouble updating a complex software solution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Trouble updating a complex software solution
      • From: Graham J Lee <email@hidden>
    • Re: Trouble updating a complex software solution
      • From: David Elliott <email@hidden>
    • Re: Trouble updating a complex software solution
      • From: Dave Zarzycki <email@hidden>
  • Prev by Date: Re: getcontext() -> Bus error?
  • Next by Date: FSEventStream with more than one Path
  • Previous by thread: Re: WARNING: The module QTSSAccessModule is not a compatible QTSS API module.
  • Next by thread: Re: Trouble updating a complex software solution
  • Index(es):
    • Date
    • Thread