--
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Moments after reading this thread, I just had the behavior occur in my test environment ."Unapproved Caller. SecurityAgent may only be invoked by Apple software." upon first login attempt after 10.10.2 installed from Reposado repo, via Munki 2 client.
On Thursday, January 29, 2015 at 11:57:59 AM UTC-5, Nicolas Daigneault wrote:I had the same error with 10.10.2 push by reposado, by Munki2.SecurityAgent not found. This action only authorized by Apple"I clicked several time on ok, and waited 20 minutes to be sure. I needed to force shutdown my computer, and 10.10.2 was installed.For now I blocked the installation of the 10.10.2.
I was away from the machine while the updates were applying, so I wasn't able to observe the restart behavior. I came back to find it at the login screen and the error occurred at first login attempt. Details I do have:- Physical Machine (iMac14,1)- Fresh deployment from blanked HD- Installed with 10.10.0 and then updated to current from there
Also just confirmed same behavior on two more reference machines (MacBookAir6,1 and MacBookPro11,2). These machines had been sitting at login screen with 10.10.1 and updated to 10.10.2 though normal Munki runs after it was enabled in Reposado.
I did notice that after the hard power off,
both of these machines did and extra reboot before coming back up to the login screen.So, just to be clear: After the error occured, machine was hard powered off,
powered on,
progress bar displayed, rebooted again,
So, the sequence was:- Machines had been sitting and updated through normal automated runs- Error occurred and displayed upon first login
Added the OS X Yosemite 10.10.2 update to Munki yesterday. After it was run through MSU users reported popup "SecurityAgent not found. This action only authorized by Apple" multiple times. Only way to fix was force shutdown and restart. I followed instructions exactly and never added it to any manifests. I added a force install date key but that was all. Just a warning for this update.Any light shed on what I did wrong would be sweet, knowing me I messed up somewhere along the way.
Good afternoon,I can confirm that we are seeing this same behavior in our environment. It can be reproduced when installing the 10.10.2 Update from Managed Software Center instead of App Store. It forces a hard shut down,
then after reboot, it completes the installation and then proceeds to behave normally.The only difficulty I have is putting a machine back into that state, since our workflow now installs the latest available version of the OS. I have some users that I may be able to use as testers, if needed, though.
I'm happy to provide as much info as I can.Mike WilkersonDesktop Systems AdministratorRGM Advisors, LLCAustin, TexasOn Wednesday, January 28, 2015 at 10:21:51 AM UTC-6, zack.m...@bsd7.org wrote:Added the OS X Yosemite 10.10.2 update to Munki yesterday. After it was run through MSU users reported popup "SecurityAgent not found. This action only authorized by Apple" multiple times. Only way to fix was force shutdown and restart. I followed instructions exactly and never added it to any manifests. I added a force install date key but that was all. Just a warning for this update.Any light shed on what I did wrong would be sweet, knowing me I messed up somewhere along the way.
---------------------------------------------------------------This email, along with any attachments, is confidential. If youbelieve you received this message in error, please contact thesender immediately and delete all copies of the message.Thank you.
Let me clarify "It forces a hard shut down, then after reboot, it completes the installation and then proceeds to behave normally."When managed Software Update completes the installations, the machine reboots as it normally would,
Ed
--
Jan 27 16:53:50 <redacted> MunkiStatus[15540]: checkProcess timer firedJan 27 16:54:16 --- last message repeated 5 times ---Jan 27 16:54:15 <redacted> kernel[0]: Refusing new kext com.apple.kpi.libkern, v14.1: already have loaded v14.0.Jan 27 16:54:15 <redacted> kernel[0]: Refusing new kext com.apple.kpi.unsupported, v14.1: already have loaded v14.0.Jan 27 16:54:15 <redacted> kernel[0]: Refusing new kext com.apple.kpi.mach, v14.1: already have loaded v14.0.Jan 27 16:54:15 <redacted> kernel[0]: Refusing new kext com.apple.kpi.bsd, v14.1: already have loaded v14.0.Jan 27 16:54:16 <redacted> mds[89286]: (Volume.Normal:2464) volume:0x7fe6bc1b7000 ********** Bootstrapped Creating a default store:0 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Volumes/bless.84V4Jan 27 16:54:17 <redacted> mds[89286]: (ImportServer.Normal:4469) Software update completeJan 27 16:54:19 <redacted> kernel[0]: BUG in process suhelperd[813]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)Jan 27 16:54:20 --- last message repeated 9 times ---Jan 27 16:54:20 <redacted >MunkiStatus[15540]: checkProcess timer firedJan 27 16:54:21 <redacted> com.apple.xpc.launchd[1] (com.googlecode.munki.managedsoftwareupdate-check[15324]): Service exited with abnormal code: 1Jan 27 16:54:25 <redacted> MunkiStatus[15540]: checkProcess timer firedJan 27 16:54:30 --- last message repeated 1 time ---Jan 27 16:54:30 <redacted> MunkiStatus[15540]: managedsoftwareupdate not running...Jan 27 16:54:35 <redacted> MunkiStatus[15540]: checkProcess timer firedJan 27 16:54:35 <redacted> MunkiStatus[15540]: managedsoftwareupdate not running...Jan 27 16:54:40 <redacted> MunkiStatus[15540]: checkProcess timer firedJan 27 16:54:40 <redacted> MunkiStatus[15540]: managedsoftwareupdate not running...Jan 27 16:54:45 <redacted> MunkiStatus[15540]: checkProcess timer firedJan 27 16:54:45 <redacted> MunkiStatus[15540]: managedsoftwareupdate not running...Jan 27 16:54:50 <redacted> MunkiStatus[15540]: checkProcess timer firedJan 27 16:54:50 <redacted> MunkiStatus[15540]: managedsoftwareupdate not running...Jan 27 16:54:55 <redacted> MunkiStatus[15540]: checkProcess timer firedJan 27 16:54:55 <redacted> MunkiStatus[15540]: managedsoftwareupdate not running...Jan 27 16:54:55 <redacted> MunkiStatus[15540]: Timed out waiting for managedsoftwareupdate.Jan 27 16:54:55 <redacted> MunkiStatus[15540]: statusSessionFailed: -1Jan 27 17:02:16 <redacted> ScreenSaverEngine[16836]: Window Server is not available.Jan 27 17:02:16 --- last message repeated 1 time ---Jan 27 17:02:16 <redacted> ScreenSaverEngine[16836]: *** CGEventTapCreate returned NULL
Jan 27 2015 16:51:46 -0500 Installing OS X UpdateJan 27 2015 16:54:20 -0500 Done with OS X UpdateJan 27 2015 16:54:20 -0500 Done.Jan 27 2015 16:54:20 -0500 You have installed one or more updates that requires that you restart yourJan 27 2015 16:54:20 -0500 computer. Please restart immediately.Jan 27 2015 18:00:29 -0500 ### Starting managedsoftwareupdate run: auto ###
Jan 27 16:54:19 <redacted> softwareupdated[812]: SoftwareUpdate: finished install of 031-17157Jan 27 16:54:19 <redacted> softwareupdated[812]: Removing 031-17157Jan 27 16:54:19 <redacted> softwareupdated[812]: Removed local product for 031-17157 (1)Jan 27 16:54:19 <redacted> softwareupdated[812]: SoftwareUpdate: Removed foreground transaction [0x6]Jan 27 16:54:19 <redacted> softwareupdated[812]: Removing client SUUpdateServiceClient pid=15544, uid=0, installAuth=YES rights=(system.install.apple-software, system.install.apple-software.standard-user, system.install.software, com.apple.SoftwareUpdate.modify-settings), transactions=0 (/usr/sbin/softwareupdate)Jan 27 17:56:04 <redacted> softwareupdated[812]: BackgroundActivity: Starting Background Check Activity
Ok, I just walked through the process and was able to reproduce it. You're right, Greg. The machine does not restart. Here's what I saw:- With no apps running, I launched managed Software Update and it displays the 10.10.2 update and Remote Desktop Client.- I clicked Update button, got pop-up indicating that the update required a restart and to Log out & update, which I did.- logged out to black screen, with the Managed Software Center progress bar. (NOTE: Our policy banner (Acceptable use policy window) popped up behind this window, as well.)- After the packages were installed, the progress bar window simply went away and the machine sat at our Policy Banner.- After I clicked "Agree", it went right back to the login window.- Upon my attempt to log in, the screen went black and I got the Unapproved caller error.- power off the unit by holding the power button for 5 seconds, then rebooting, completes the installation.I'll send the log files over in a moment.
Jan 28 2015 11:50:41 -0800 Installing available Apple Software Updates...Jan 28 2015 11:50:42 -0800 Finding available softwareJan 28 2015 11:50:44 -0800 Installing OS X Update, Remote Desktop Client UpdateJan 28 2015 11:54:26 -0800 Done with OS X UpdateJan 28 2015 11:54:26 -0800 Done with Remote Desktop Client UpdateJan 28 2015 11:54:26 -0800 Done.Jan 28 2015 11:54:26 -0800 You have installed one or more updates that requires that you restart yourJan 28 2015 11:54:26 -0800 computer. Please restart immediately.Jan 28 2015 11:54:26 -0800 Finishing...Jan 28 2015 11:54:26 -0800 Saving application inventory...Jan 28 2015 11:54:34 -0800 Performing postflight tasks...Jan 28 2015 11:54:36 -0800 postflight stdout: Postflight report submmitted for Mac.Inventory submmitted for Mac.Jan 28 2015 11:54:36 -0800 postflight stderr: 2015-01-28 11:54:34.828 system_profiler[11876:200058] platformPluginDictionary: Can't get X86PlatformPlugin, return value 02015-01-28 11:54:34.830 system_profiler[11876:200058] platformPluginDictionary: Can't get X86PlatformPlugin, return value 0Jan 28 2015 11:54:36 -0800 ### Ending managedsoftwareupdate run ###Jan 28 2015 11:54:36 -0800 Software installed or removed requires a restart.Jan 28 2015 12:17:25 -0800 ### Starting managedsoftwareupdate run: auto ###Jan 28 2015 12:17:25 -0800 Starting...
Jan 28 11:54:39 Mac.local MunkiStatus[10218]: checkProcess timer firedJan 28 11:54:41 Mac.local shutdown[11894]: reboot by admin:Jan 28 11:54:53 localhost bootlog[0]: BOOT_TIME 1422474893 0
Jan 28 11:54:25 Mac.local softwareupdated[10051]: SoftwareUpdate: finished install of 031-17157Jan 28 11:54:25 Mac.local softwareupdated[10051]: SoftwareUpdate: finished install of 031-3227Jan 28 11:54:25 Mac.local softwareupdated[10051]: Removing 031-17157, 031-3227Jan 28 11:54:25 Mac.local softwareupdated[10051]: Removed local product for 031-17157 (1)Jan 28 11:54:25 Mac.local softwareupdated[10051]: Removed local product for 031-3227 (1)Jan 28 11:54:25 Mac.local softwareupdated[10051]: SoftwareUpdate: Removed foreground transaction [0x2]Jan 28 11:54:25 Mac.local softwareupdated[10051]: Removing client SUUpdateServiceClient pid=10293, uid=0, installAuth=YES rights=(system.install.apple-software, system.install.apple-software.standard-user, system.install.software, com.apple.SoftwareUpdate.modify-settings), transactions=0 (/usr/sbin/softwareupdate)Jan 28 11:55:21 localhost softwareupdate_firstrun_tasks[70]: swscan.apple.com is available: TRUE
Jan 28 2015 11:54:26 -0800 You have installed one or more updates that requires that you restart yourJan 28 2015 11:54:26 -0800 computer. Please restart immediately.Jan 28 2015 11:54:26 -0800 Finishing...Jan 28 2015 11:54:26 -0800 Saving application inventory...Jan 28 2015 11:54:34 -0800 Performing postflight tasks...Jan 28 2015 11:54:36 -0800 postflight stdout: Postflight report submmitted for Mac.Inventory submmitted for Mac.Jan 28 2015 11:54:36 -0800 postflight stderr: 2015-01-28 11:54:34.828 system_profiler[11876:200058] platformPluginDictionary: Can't get X86PlatformPlugin, return value 02015-01-28 11:54:34.830 system_profiler[11876:200058] platformPluginDictionary: Can't get X86PlatformPlugin, return value 0Jan 28 2015 11:54:36 -0800 ### Ending managedsoftwareupdate run ###Jan 28 2015 11:54:36 -0800 Software installed or removed requires a restart.
Jan 27 2015 16:51:46 -0500 Installing OS X UpdateJan 27 2015 16:54:20 -0500 Done with OS X UpdateJan 27 2015 16:54:20 -0500 Done.Jan 27 2015 16:54:20 -0500 You have installed one or more updates that requires that you restart yourJan 27 2015 16:54:20 -0500 computer. Please restart immediately.
So it's dying after logging "You have installed one or more updates that requires that you restart your computer. Please restart immediately." (which is coming from /usr/sbin/softwareupdate) , but before logging "Finishing".<appears to die here>Jan 27 2015 18:00:29 -0500 ### Starting managedsoftwareupdate run: auto ###
We are using 2.0 and getting the error.
--
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+unsubscribe@googlegroups.com.
On January 30, 2015 at 11:34:13 AM, Gregory Neagle (gregn...@mac.com) wrote:
Changing the subject line so people will actually notice this thread.
-Greg
Yep, correct - I did run it a few times to verify but after sending my reply to this thread it hung up anyway.
Right now it seems more likely that the process hangs up if a Munki 2 update is installed in the same update session, prior to the OS X 10.10.2 update running.
This may explain why not everyone is able to reproduce this, if they are testing with no other updates, a Munki update in particular, being installed at the same time. The test VM I am working with does install a few other updates in the same session (Flash, Java) but those don't appear to be causing the failure to restart. It doesn't make immediate sense that installing updated Munki launchd jobs would cause the managedsoftwareupdate job to crash later on, but then again considering the full rewrite launchd received in 10.10 this doesn't entirely shock me.
Recap: test the 10.10.2 updater with and without a Munki update in the same session, compare restart behavior.
On Jan 31, 2015, at 10:46 PM, Pepijn Bruienne <brui...@gmail.com> wrote:Yep, correct - I did run it a few times to verify but after sending my reply to this thread it hung up anyway.So by this you mean that you observed the issue even with ptyexec not being used?
Yes, after doing more A/B comparison runs with and without ptyexec I saw success both with and without it, though it took 5-6 attempts before it did. I think I have a better idea as to why, see next section.
Right now it seems more likely that the process hangs up if a Munki 2 update is installed in the same update session, prior to the OS X 10.10.2 update running.This may explain why not everyone is able to reproduce this, if they are testing with no other updates, a Munki update in particular, being installed at the same time. The test VM I am working with does install a few other updates in the same session (Flash, Java) but those don't appear to be causing the failure to restart. It doesn't make immediate sense that installing updated Munki launchd jobs would cause the managedsoftwareupdate job to crash later on, but then again considering the full rewrite launchd received in 10.10 this doesn't entirely shock me.And "best practice" is to not install the Munki launchd jobs unless they've changed, so are you also implying that it must not only include a Munki update, but specifically an install of the Munki launchd jobs at the same time as the 10.10.2 update to trigger this issue? (I'm skeptical)
My particular session updates Munki from 2.0.1.2253 to 2.1.0.2349. The launchd job in 2.1.0.2349 is the same at version 2.0.0.1969 so it doesn't get installed. The only installed components are com.googlecode.munki.core 2.1.0.2349 and com.googlecode.munki.app 4.0.2348.
Given the above I've done about a dozen tests with and without installing aforementioned Munki components along with the 10.10.2 update (while allowing other updates to install) and every time a Munki update was installed the launchd job died and a restart was not performed. Without the Munki updates the installation completed successfully, the launchd job didn't die and a restart was performed.
TL;DR:
OS X 10.10.2 update + Munki components + other updates = failure
OS X 10.10.2 update + other updates = success
That begs the question if and why updating the Munki components causes its launchd job to terminate. That's definitely not something we've seen before but again I cast a doubtful eye on Yosemite's launchd. It would be very helpful if others reporting the same issue could chime in on whether or not they are also installing Munki updates and hopefully we can get some more clarity.
Recap: test the 10.10.2 updater with and without a Munki update in the same session, compare restart behavior.We may need to be more specific around the "Munki update" as well, since what exactly changes depends on what you are running and what you install... IOW there are a lot more changes if you are updating from some version of Munki 1 to Munki 2.1.1 than if you are updating from Munki 2.1 to 2.1.1 and aren't (re-)installing the Munki launchd jobs.
See above, but I concur, 1 -> 2 has its own set of caveats. Basically more data is needed from those reporting the issue about what is installed outside of the OS X 10.10.2 update.
Thanks,
Pepijn.
--
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I will dig more into the logs tomorrow, but we are seeing the issue and don't update Munki with Munki - instead updating with Puppet.
There must be another set of conditions which makes this happen.
On Sunday, February 1, 2015, Pepijn Bruienne <brui...@gmail.com> wrote:
On February 1, 2015 at 9:53:48 AM, Gregory Neagle () wrote:
On Jan 31, 2015, at 10:46 PM, Pepijn Bruienne <> wrote:Yep, correct - I did run it a few times to verify but after sending my reply to this thread it hung up anyway.So by this you mean that you observed the issue even with ptyexec not being used?Yes, after doing more A/B comparison runs with and without ptyexec I saw success both with and without it, though it took 5-6 attempts before it did. I think I have a better idea as to why, see next section.
Right now it seems more likely that the process hangs up if a Munki 2 update is installed in the same update session, prior to the OS X 10.10.2 update running.This may explain why not everyone is able to reproduce this, if they are testing with no other updates, a Munki update in particular, being installed at the same time. The test VM I am working with does install a few other updates in the same session (Flash, Java) but those don't appear to be causing the failure to restart. It doesn't make immediate sense that installing updated Munki launchd jobs would cause the managedsoftwareupdate job to crash later on, but then again considering the full rewrite launchd received in 10.10 this doesn't entirely shock me.And "best practice" is to not install the Munki launchd jobs unless they've changed, so are you also implying that it must not only include a Munki update, but specifically an install of the Munki launchd jobs at the same time as the 10.10.2 update to trigger this issue? (I'm skeptical)My particular session updates Munki from 2.0.1.2253 to 2.1.0.2349. The launchd job in 2.1.0.2349 is the same at version 2.0.0.1969 so it doesn't get installed. The only installed components are com.googlecode.munki.core 2.1.0.2349 and com.googlecode.munki.app 4.0.2348.
Given the above I've done about a dozen tests with and without installing aforementioned Munki components along with the 10.10.2 update (while allowing other updates to install) and every time a Munki update was installed the launchd job died and a restart was not performed. Without the Munki updates the installation completed successfully, the launchd job didn't die and a restart was performed.
TL;DR:
OS X 10.10.2 update + Munki components + other updates = failure
OS X 10.10.2 update + other updates = success
That begs the question if and why updating the Munki components causes its launchd job to terminate. That's definitely not something we've seen before but again I cast a doubtful eye on Yosemite's launchd. It would be very helpful if others reporting the same issue could chime in on whether or not they are also installing Munki updates and hopefully we can get some more clarity.
Recap: test the 10.10.2 updater with and without a Munki update in the same session, compare restart behavior.We may need to be more specific around the "Munki update" as well, since what exactly changes depends on what you are running and what you install... IOW there are a lot more changes if you are updating from some version of Munki 1 to Munki 2.1.1 than if you are updating from Munki 2.1 to 2.1.1 and aren't (re-)installing the Munki launchd jobs.See above, but I concur, 1 -> 2 has its own set of caveats. Basically more data is needed from those reporting the issue about what is installed outside of the OS X 10.10.2 update.
Thanks,
Pepijn.
--
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Samuel Keeley
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
We're seeing this very consistently on all updates through Munki and not at all on updates from any other source. We're guessing it's because this update contains a firmware update as well as the software updates. Not that that is a solution.EdOn Wed Jan 28 2015 at 3:46:23 PM <zack.m...@bsd7.org> wrote:Ya I've recently found out that it seems to be related to Time Machine or a /var/ folder. We had a couple users update no problem via app store, but so far the 10 users who have used MSU (still trying to enforce DON'T use the dang app store) had this error pop up. Just coincidence I suppose.
On Wednesday, January 28, 2015 at 12:34:03 PM UTC-7, Predrag Stojanovic wrote:Error not related to Munki (or anything you did). Could be a bad HDD cable...
On Wednesday, January 28, 2015 at 11:21:51 AM UTC-5, zack.m...@bsd7.org wrote:Added the OS X Yosemite 10.10.2 update to Munki yesterday. After it was run through MSU users reported popup "SecurityAgent not found. This action only authorized by Apple" multiple times. Only way to fix was force shutdown and restart. I followed instructions exactly and never added it to any manifests. I added a force install date key but that was all. Just a warning for this update.Any light shed on what I did wrong would be sweet, knowing me I messed up somewhere along the way.
--
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.