Skip to content

Instantly share code, notes, and snippets.

@gmarnin
Created December 18, 2018 17:07
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save gmarnin/37265c0c37ebbcb9f14818033b78e2d2 to your computer and use it in GitHub Desktop.
T2 10.14.2 update, MSC log from 3.5.2.3630
Dec 18 2018 11:33:39 -0500 Using manifest: site_default
Dec 18 2018 11:33:39 -0500 DEBUG2: Catalog base URL is: https://domain/munki/catalogs/
Dec 18 2018 11:33:39 -0500 Getting catalog production...
Dec 18 2018 11:33:39 -0500 DEBUG2: Options: {'logging_function': <function display_debug2 at 0x108247aa0>, 'ignore_system_proxy': False, 'additional_headers': {u'Authorization': u'Basic aXRzXG1hY211bmtpOk1NMjAxNCNy', 'User-Agent': u'managedsoftwareupdate/3.5.2.3630 Darwin/18.2.0'}, 'file': u'/Library/Managed Installs/catalogs/production.download', 'cache_data': {
etag = "\"83f113e0c896d41:0\"";
"last-modified" = "Tue, 18 Dec 2018 11:57:39 GMT";
}, 'url': u'https://domain/munki/catalogs/production', 'follow_redirects': u'none', 'download_only_if_changed': True, 'can_resume': False}
Dec 18 2018 11:33:39 -0500 DEBUG2: URLSession_task_didReceiveChallenge_completionHandler_
Dec 18 2018 11:33:39 -0500 DEBUG2: Authentication challenge for Host: domain Realm: None AuthMethod: NSURLAuthenticationMethodServerTrust
Dec 18 2018 11:33:39 -0500 DEBUG2: Allowing OS to handle authentication request
Dec 18 2018 11:33:39 -0500 DEBUG2: URLSession_task_didReceiveChallenge_completionHandler_
Dec 18 2018 11:33:39 -0500 DEBUG2: Authentication challenge for Host: domain Realm: None AuthMethod: NSURLAuthenticationMethodClientCertificate
Dec 18 2018 11:33:39 -0500 DEBUG2: Allowing OS to handle authentication request
Dec 18 2018 11:33:39 -0500 DEBUG1: Status: 304
Dec 18 2018 11:33:39 -0500 DEBUG1: Headers: {u'X-Powered-By': u'ASP.NET', u'Accept-Ranges': u'bytes', u'Server': u'Microsoft-IIS/7.5', u'Last-Modified': u'Tue, 18 Dec 2018 11:57:39 GMT', u'Etag': u'"83f113e0c896d41:0"', u'Date': u'Tue, 18 Dec 2018 16:33:38 GMT'}
Dec 18 2018 11:33:39 -0500 DEBUG1: Item is unchanged on the server.
Dec 18 2018 11:33:39 -0500 DEBUG1: /Library/Managed Installs/catalogs/production already exists and is up-to-date.
Dec 18 2018 11:33:39 -0500 **Checking for Apple Update Metadata**
Dec 18 2018 11:33:39 -0500 DEBUG1: Looking for detail for: 091-97092, version latest...
Dec 18 2018 11:33:39 -0500 DEBUG1: Not found
Dec 18 2018 11:33:39 -0500 The following Apple Software Updates are available to install:
Dec 18 2018 11:33:39 -0500 + macOS 10.14.2 Update-
Dec 18 2018 11:33:39 -0500 *Restart required
Dec 18 2018 11:33:39 -0500 Finishing...
Dec 18 2018 11:33:39 -0500 Saving application inventory...
Dec 18 2018 11:33:39 -0500 DEBUG1: Getting info on currently installed applications...
Dec 18 2018 11:33:42 -0500 ### Ending managedsoftwareupdate run ###
Dec 18 2018 11:35:28 -0500 ### Starting managedsoftwareupdate run: custom ###
Dec 18 2018 11:35:28 -0500 Starting...
Dec 18 2018 11:35:28 -0500 The following Apple Software Updates are available to install:
Dec 18 2018 11:35:28 -0500 + macOS 10.14.2 Update-
Dec 18 2018 11:35:28 -0500 *Restart required
Dec 18 2018 11:35:28 -0500 Installing available Apple Software Updates...
Dec 18 2018 11:35:28 -0500 Caching CatalogURL http://domain/index.sucatalog
Dec 18 2018 11:35:29 -0500 DEBUG2: Options: {'logging_function': <function display_debug2 at 0x106b3daa0>, 'ignore_system_proxy': False, 'additional_headers': {'User-Agent': u'managedsoftwareupdate/3.5.2.3630 Darwin/18.2.0 (x86_64) (MacBookAir8,1)'}, 'file': '/tmp/munki_swupd_cache/mirror/apple.sucatalog.download', 'cache_data': {
etag = "\"2042ef34ef96d41:0\"";
"last-modified" = "Tue, 18 Dec 2018 16:32:03 GMT";
}, 'url': u'http://domain/index.sucatalog', 'follow_redirects': True, 'download_only_if_changed': True, 'can_resume': True}
Dec 18 2018 11:35:29 -0500 DEBUG1: Status: 304
Dec 18 2018 11:35:29 -0500 DEBUG1: Headers: {u'X-Powered-By': u'ASP.NET', u'Accept-Ranges': u'bytes', u'Server': u'Microsoft-IIS/7.5', u'Last-Modified': u'Tue, 18 Dec 2018 16:32:03 GMT', u'Etag': u'"2042ef34ef96d41:0"', u'Date': u'Tue, 18 Dec 2018 16:35:29 GMT'}
Dec 18 2018 11:35:29 -0500 DEBUG1: Item is unchanged on the server.
Dec 18 2018 11:35:29 -0500 DEBUG1: /tmp/munki_swupd_cache/mirror/apple.sucatalog already exists and is up-to-date.
Dec 18 2018 11:35:29 -0500 DEBUG1: softwareupdate cmd: ['/usr/local/munki/ptyexec', '/usr/sbin/softwareupdate', '--verbose', '-i', u'macOS 10.14.2 Update- ']
Dec 18 2018 11:35:31 -0500 Installing macOS 10.14.2 Update
Dec 18 2018 11:36:31 -0500 Done.
Dec 18 2018 11:36:31 -0500 To install these updates, your computer must shut down. Your computer will automatically start up to finish installation.
Dec 18 2018 11:36:31 -0500 ### This update requires a shutdown. ###
Dec 18 2018 11:36:31 -0500 Installation will not complete successfully if you choose to restart your computer instead of shutting down.
Dec 18 2018 11:36:31 -0500 Please call halt(8) or select Shut Down from the Apple menu. To automate the shutdown process with softwareupdate(8), use --restart.
Dec 18 2018 11:36:31 -0500 DEBUG2: InstallHistory.plist items:
[{
date = "2018-12-18 16:35:30 +0000";
displayName = "macOS 10.14.2 Update";
displayVersion = " ";
packageIdentifiers = (
"com.apple.pkg.macOSBrain"
);
processName = softwareupdated;
}]
Dec 18 2018 11:36:31 -0500 DEBUG1: Raw Apple Update install results: {'download': [], 'failures': [], 'installed': []}
Dec 18 2018 11:36:31 -0500 DEBUG2: Matched macOS 10.14.2 Update in InstallHistory.plist
Dec 18 2018 11:36:31 -0500 One or more Apple updates requires a shutdown instead of restart.
Dec 18 2018 11:36:31 -0500 Finishing...
Dec 18 2018 11:36:31 -0500 Saving application inventory...
Dec 18 2018 11:36:31 -0500 DEBUG1: Getting info on currently installed applications...
Dec 18 2018 11:36:34 -0500 ### Ending managedsoftwareupdate run ###
Dec 18 2018 11:36:34 -0500 Software installed or removed requires a shut down.
Dec 18 2018 11:36:34 -0500 Software installed or removed requires a restart.
@gregneagle
Copy link

And nothing after that? (Sadly, that's where, for me it gets interesting, since next we should be in this bit of code: https://github.com/munki/munki/blob/master/code/client/munkilib/authrestart/__init__.py#L184-L213 where the actual shutdown or restart happens)
It is clear that it is detecting the need to shut down. (Dec 18 2018 11:36:31 -0500 ### This update requires a shutdown. ###) and (Dec 18 2018 11:36:31 -0500 One or more Apple updates requires a shutdown instead of restart.) and (Dec 18 2018 11:36:34 -0500 Software installed or removed requires a shut down.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment