Posted on 07-30-2014 09:45 AM
I am using Casper 9.32
I have a simple configuration with just an OS image and a post install script set to run at reboot. I have policies set to run at enrolment complete, a flash installer policy running at startup and other policies running at recurring checkin.
The jamf.log show my test machine is formatted, checks and carries out the enrolment complete policies including an AD bind and a reboot. After reboot it checks for networkstatechanage then policies triggered by startup which shows it start to install flash. The next line shows the check for policies triggered by startup being checked again which is not good if the logs are correct. They have different numbers (jamf[1222] for the first one and jamf[262] for the second one. Does this mean 2 separate processes? The 262 process is more verbose as you can see in the logs below (I have changed the AD name and the computer name).
Also you can see a second failed attempt to enroll the computer take place after the startup tasks complete even though there was a successful enrolment earlier which triggered the enrollmentcomplete trigger.
Anyone else getting this behaviour or should i just ignore it.........
###############################################################
Formatted Macintosh HD on 30/07/2014 at 17:19
###############################################################
2014-7-30 17:19:54 Formatted Macintosh HD^MWed Jul 30 17:26:11 adminmac jamf[397]: Enforcing management framework...
Wed Jul 30 17:26:11 adminmac jamf[397]: Enforcing scheduled tasks...
Wed Jul 30 17:26:11 adminmac jamf[397]: Adding launchd task com.jamfsoftware.task.1...
Wed Jul 30 17:26:11 adminmac jamf[397]: Creating launch daemon...
Wed Jul 30 17:26:11 adminmac jamf[397]: Downloading the agent...
Wed Jul 30 17:26:12 adminmac jamf[397]: Creating launch agent...
Wed Jul 30 17:26:13 adminmac jamf[692]: Checking for policies triggered by "enrollmentComplete"...
Wed Jul 30 17:26:13 adminmac jamf[692]: Upgrading JAMF notification service...
Wed Jul 30 17:26:14 adminmac jamf[692]: Executing Policy Desktop Settings...
Wed Jul 30 17:26:21 adminmac jamf[692]: Verifying package integrity...
Wed Jul 30 17:26:21 adminmac jamf[692]: Installing desktop_background.pkg...
Wed Jul 30 17:26:24 adminmac jamf[692]: Successfully installed desktop_background.pkg.
Wed Jul 30 17:26:24 adminmac jamf[692]: Verifying package integrity...
Wed Jul 30 17:26:24 adminmac jamf[692]: Installing DockPrefs.pkg...
Wed Jul 30 17:26:27 adminmac jamf[692]: Successfully installed DockPrefs.pkg.
Wed Jul 30 17:26:27 adminmac jamf[692]: Verifying package integrity...
Wed Jul 30 17:26:27 adminmac jamf[692]: Installing logon_icon.pkg...
Wed Jul 30 17:26:30 adminmac jamf[692]: Successfully installed logon_icon.pkg.
Wed Jul 30 17:26:30 adminmac jamf[692]: Blessing i386 OS X System on /...
Wed Jul 30 17:26:30 adminmac jamf[692]: Executing Policy image_testing Bind AD...
Wed Jul 30 17:26:30 adminmac jamf[692]: Binding adminmac to <domain.com>...
Wed Jul 30 17:26:42 adminmac jamf[692]: Bound to Active Directory (<domain.com>)
Wed Jul 30 17:26:43 adminmac jamf[1052]: Reboot. 10.4+. Background.
Wed Jul 30 17:26:43 adminmac jamf[1052]: Adding launchd task to reboot...
Wed Jul 30 17:26:44 adminmac jamf[683]: Network state changed, checking for policies...
Wed Jul 30 17:26:44 adminmac jamf[1076]: Reboot. Immediately.
Wed Jul 30 17:26:44 adminmac jamf[1076]: Rebooting computer immediately...
Wed Jul 30 17:26:44 adminmac jamf[1085]: Checking for policies triggered by "networkStateChange"...
Wed Jul 30 17:26:46 adminmac jamf[1222]: Checking for policies triggered by "startup"...
Wed Jul 30 17:26:47 adminmac jamf[1222]: Executing Policy Install Flash...
Wed Jul 30 17:27:40 adminmac jamf[262]: Checking for policies triggered by "startup"...
Wed Jul 30 17:27:41 adminmac jamf[262]: Executing Policy Install Flash...
Wed Jul 30 17:29:28 adminmac jamf[262]: Verifying package integrity...
Wed Jul 30 17:29:28 adminmac jamf[262]: Installing flash update off.pkg...
Wed Jul 30 17:29:31 adminmac jamf[262]: Successfully installed flash update off.pkg.
Wed Jul 30 17:39:25 adminmac jamf[500]:
There was an error.
Error enrolling computer: Permission Error - The user specified does not have permission to perform the action.
Wed Jul 30 17:39:27 adminmac jamf[576]: Checking for policies triggered by "startup"...
Wed Jul 30 17:39:37 adminmac jamf[92]: Network state changed, checking for policies...
Wed Jul 30 17:39:37 adminmac jamf[650]: Checking for policies triggered by "networkStateChange"...
Posted on 09-12-2014 07:04 AM
I fixed this by creating a package that stopped the 15 minute check-in with the following command:-
launchctl unload /Library/LaunchDaemons/com.jamfsoftware.task.1.plist
and another that restarted it using:-
launchctl load /Library/LaunchDaemons/com.jamfsoftware.task.1.plist
I set my imaging configurations so that the stop one ran before any software installations and the start one ran after they were all complete. I now have clean log files and clean installations across the board.