Mac agent - updating OSx version may remove agent files

  • 7010333
  • 28-Jun-2012
  • 09-Nov-2012

Environment

Novell ZENworks Configuration Management 11.2

Situation

Updating to a newer version of OSx may remove agent startup scripts.

Resolution

This is fixed in version 11.2.2 - see KB 7010757 "ZENworks Configuration Management 11.2.2 - update information and list of fixes" which can be found at https://support.microfocus.com/kb/doc.php?id=7010757

Workaround: if it is not possible to upgrade to ZCM 11.2.2 at this time, in the interim, Novell has made a Patch available for testing, as part of a Monthly patch update: it can be obtained at https://download.novell.com/Download?buildid=zKIz21tONFg~ as "ZCM 11.2.1 Monthly Update 2 - see TID 7010729". This update should only be applied if the symptoms above are being experienced, and are causing problems.Please report any problems encountered when using this Patch, by using the feedback link on this TID.

Note: when the update is applied, there will be two functioning ZENworks icons shown in the display, but the second icon will disappear after a logoff/logon: this is a consequence of the changing location of the files, and should not cause any problems. It will only happen once, as the update is applied.


Workaround:  Perform the following fix prior to updating the OS.
 
Manual fix
Run the following:
  1. launchctl unload /System/Library/LaunchDaemons/com.novell.zenworks.agent.plist
  2. mv /System/Library/LaunchDaemons/com.novell.zenworks.agent.plist /Library/LaunchDaemons
  3. launchctl load /Library/LaunchDaemons/com.novell.zenworks.agent.plist
Automated fix
Do the following:
  1. Create a Mac bundle.
  2. Set a system prerequisite on the bundle for "File Exists /System/Library/LaunchDaemons/com.novell.zenworks.agent.plist".
  3. Add an install action for run once:  Run script, Run as root user with the following:
    mv /System/Library/LaunchDaemons/com.novell.zenworks.agent.plist /Library/LaunchDaemons
  4. Add an install action to reboot.  Allow appropriate prompt and timeout for users to close applications.
  5. Test the bundle on a test device and then deploy to others.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.