Munki 3.1 Released

130 views
Skip to first unread message

Gregory Neagle

unread,
Sep 21, 2017, 3:16:28 PM9/21/17
to munki-discuss, munk...@googlegroups.com
https://github.com/munki/munki/releases/tag/v3.1.0

This is the official release of Munki 3.1, a feature update to the Munki tools.  
This is the same build as Release Candidate 5.


### Major changes in the 3.1 release:

* New bootstrapping tools and behaviors:
  * `managedsoftwareupdate` has two new options: `--set-bootstrap-mode` and `--clear-bootstrap-mode`
  * `managedsoftwareupdate --set-bootstrap-mode` creates the needed /Users/Shared/.com.googlecode.munki.checkandinstallatstartup file, and also turns off FileVault auto login (this is the automatic login to the account of the user who unlocks the FV2-encrpyted disk at boot), by setting the com.apple.loginwindow DisableFDEAutoLogin preference to True.
  * `managedsoftwareupdate --clear-bootstrap-mode` removes the /Users/Shared/.com.googlecode.munki.checkandinstallatstartup file and resets the com.apple.loginwindow DisableFDEAutoLogin preference to its previous value.
  * When performing a macOS upgrade (using an Install macOS.app/startosinstall), Munki uses these new mechanisms in order to effectively re-bootstrap after an OS upgrade.  See https://github.com/munki/munki/commit/99d902b6386c1f849031837263941a9a83d9c107

* Managed Software Center.app
    * Choosing "Reload page" from the Navigate menu now also triggers an update check.
    * Managed Software Center.app can now optionally show optional installs and updates that apply to macOS versions higher than the currently installed version. This can help motivate macOS upgrades, as users can see that in order to be able to get the latest version of Keynote, they must first upgrade to 10.12.x, for example. This optional behavior is enabled by setting the ManagedInstalls preference `ShowOptionalInstallsForHigherOSVersions` to true.
    * "Problem" updates are now displayed on the Updates page of Managed Software Center.app; these are updates that cannot be installed for some reason (the most common one being insufficient disk space) that a user might be able to remedy.
    * Faster launching of Managed Software Center.app.

* Faster launching of MunkiStatus.app.

* `startosinstall` OS upgrade pkginfo items can now contain an additional array of strings, which are added as additional options to the `startosinstall` binary. For example:

    <key>additional_startosinstall_options</key>
    <array>
        <string>--converttoapfs</string>
        <string>NO</string>
    </array>


* `managedsoftwareupdate` has a new `--show-config` option, which will print Munki's configuration. This can be helpful when troubleshooting the potentially confusing interaction between different preference levels and managed preferences.

* `makecatalogs` now stores icon hashes in a separate file (`icons/_icon_hashes.plist`) instead of in the catalogs. This enables the client to skip attempted downloads of icons if they are not listed in icons/_icon_hashes.plist, as well as only re-downloading icons if the hashes change.

* Munki now prevents idle sleep during the check/download phase if the machine is on AC power.

* New `makecatalogs` option to skip checking for installer item existence; useful if pkgs are stored elsewhere. This is new in 3.1RC2. Thanks to Yoann Gini: https://github.com/munki/munki/commit/04b33642b3c1f771e103078f331eadb1a9401d0f

* New `move-install-to-uninstall` command for `manifestutil`. Thanks to @poundbangbash: https://github.com/munki/munki/commit/0e256e0ce31488926f24a3ea3384d02bb59deda9

* Updated localizations for Danish, Dutch, Finnish, French, German, Italian, Japanese, Norwegian, Russian, and Spanish. Thanks to all who contributed to these.


### Bug fixes and other changes since the 3.0.3 release:

* Fix for mounting fileshares in 10.13 in the command-line admin tools: https://github.com/munki/munki/commit/e13c21e21e699879585b76949d9c5fcca377767a  
(this is the only change from 3.1RC4)

* Add the (presumed) default softwareupdate CatalogURL for High Sierra: https://github.com/munki/munki/commit/e1ccdae4fad404bb20f035a73275c71b75c2ba9e

* Bug fix for installed_state logic that caused some items to be displayed as 'installed' when they should have shown as 'Update available': https://github.com/munki/munki/commit/89e2faf7cc9cea648d21430c95f693de91a691a6

* Fix to purge the cached softwareupdate catalog after a macOS upgrade: https://github.com/munki/munki/commit/b6567fc645a39498ff3da640a447f66c3337ab1c

* Update `osinstaller` module to handle some `startosinstall` output changes for High Sierra: https://github.com/munki/munki/commit/e3e44a45443224e9fc38bd6ff645869cd2177d27

• Other tweaks to `osinstaller` code to ensure a reboot happens after `startosinstall` exits, even if we get into an unexpected state: https://github.com/munki/munki/commit/54713665be52965bd70d41fc39833f0b9fbfa6c7, https://github.com/munki/munki/commit/2c5d2a0006eb91dbed404086e8446279c72a8f8f

• `munkiimport`: Don't print a warning about failure to read catalogs/all for a brand-new, empty repo: https://github.com/munki/munki/commit/c45b5e854b89e85d4c5fe65401049908ce6b8b87

• Fix for a bug where installing a `nopkg` item that did not require a restart cleared the restart flag set by earlier items that did require a restart: https://github.com/munki/munki/commit/eb17f853fb7083d50c6ce778fe57bcb36bd9e86b

Alex Narvey

unread,
Sep 22, 2017, 9:13:00 AM9/22/17
to munki-dev
Seems to be going well for my "fleet" except for the one client I have High Sierra Golden Master on:

On that computer in the Updates tab of Managed Software Centre I see the text:

$(problem_update_rows)
$(problem_updates_header_messages)

No errors in the Managed Installs log file that I can detect.

Gregory Neagle

unread,
Sep 22, 2017, 9:28:09 AM9/22/17
to munk...@googlegroups.com
-- 
Find related discussion groups here:
https://github.com/munki/munki/wiki/Discussion-Group
--- 
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.
To post to this group, send email to munk...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages