2020-02-05 15:50:33-05 mac osinstallersetupd[55201]: Started downloading package com.apple.pkg.BridgeOSUpdateCustomer (http://swcdn.apple.com/content/downloads/13/03/061-62855-A_I1OL4KN694/q73ftsncfsp5s3ev58sl2u7chcyfep1wca/BridgeOSUpdateCustomer.pkg)
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/8343096b-2731-4ab7-ac95-31f19ed83d27%40googlegroups.com.
On Feb 11, 2020, at 7:32 PM, 'Gregory Neagle' via munki-dev <munk...@googlegroups.com> wrote:
To my knowledge you are correct that there's no way to do an "Authorized Shutdown" with tools available to us.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/29D814BF-7130-45FA-AFE3-B997677580B0%40mac.com.
Am 12.02.2020 um 04:56 schrieb Kyle Crawford <kcr...@gmail.com>:
PerformAuthRestarts
On Feb 11, 2020, at 10:31 PM, Graham Pugh <g.r....@gmail.com> wrote:Startosinstall operations without PerformAuthRestarts shouldn’t cause failed upgrades when the user is absent. Rather, the upgrade may not complete until they return. Worst case scenario is the user has to wait for the upgrade to complete when they return to the computer.
I think that’s better than a failed upgrade. A warning message (which Apple provide when you do an upgrade using native GUI) should be sufficient.Cheers,GrahamVon meinem iPhone gesendetAm 12.02.2020 um 04:56 schrieb Kyle Crawford <kcr...@gmail.com>:PerformAuthRestarts
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/F2AEF7E8-6528-4277-B4C6-47C99280BBD6%40gmail.com.
Am 12.02.2020 um 08:14 schrieb 'Gregory Neagle' via munki-dev <munk...@googlegroups.com>:
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/1D32BDF1-4EF9-41A4-8AC5-691427AEB161%40mac.com.
On Feb 11, 2020, at 4:06 PM, Kyle Crawford <kcr...@gmail.com> wrote:
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/8343096b-2731-4ab7-ac95-31f19ed83d27%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/A1A1C0C4-155D-41DA-B190-87DC4762E4F0%40mac.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/60512BF1-7393-455D-A25B-F76620680DDC%40gmail.com.
On Feb 12, 2020, at 2:16 PM, Miq Viq <miq...@gmail.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/60512BF1-7393-455D-A25B-F76620680DDC%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/60512BF1-7393-455D-A25B-F76620680DDC%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/FAFC22B1-E3DB-4161-9C52-43973977D672%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/98AAED58-EF3A-404D-9AC8-CEC84E332CE4%40mac.com.
On Feb 12, 2020, at 5:57 PM, 'Gregory Neagle' via munki-dev <munk...@googlegroups.com> wrote:
Kyle:
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/8153188F-1557-42F9-A80D-E94508090E1D%40mac.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/E3CB1258-9C58-44BF-9156-51FB4CF09A66%40gmail.com.
On Feb 13, 2020, at 5:45 PM, 'Gregory Neagle' via munki-dev <munk...@googlegroups.com> wrote:
The Munki4dev branch (https://github.com/munki/munki/tree/Munki4dev) now contains code with a different strategy for running `startosinstall` when FileVault is active and when PerformAuthRestarts is set.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/E6C1EE83-7EE6-4995-BBB3-C2F3E648618C%40mac.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 view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/1E0A2018-3862-4129-8383-ED7A31487E37%40mac.com.
On Feb 16, 2020, at 9:20 AM, 'Gregory Neagle' via munki-dev <munk...@googlegroups.com> wrote:
I manually updated the VM to 10.14.1, then tried the 10.14.6 upgrade again. Terrible results; softwareupdate just never is done updating and never exits:
<PastedGraphic-1.png>
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/901D2232-EAB8-449B-88A2-2F6237DB9B45%40mac.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/FFAA053A-BBCC-4334-97EF-61F4973290E2%40mac.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/6DCDA398-0982-4FFA-8210-3E5C6FC0C914%40mac.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/20251678-A7FF-4128-8691-57593CB295EB%40mac.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/710D9817-F515-47F3-8F43-66CA72FD11C7%40mac.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/230654DA-A563-4FF9-BA84-9EAA70A2B331%40mac.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/9817D99A-CB17-43F0-B6FC-C7F2ACB4937E%40mac.com.
El 17 feb 2020, a las 21:56, 'Gregory Neagle' via munki-dev <munk...@googlegroups.com> escribió:
Next experiment. To more closely mimic how Munki runs softwareupdate at the loginwindow, I created a simple launchd LaunchDaemon definition:
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/EFB9FFBC-3F7A-433C-8EC7-0828D70A8BAC%40mac.com.
On Feb 17, 2020, at 4:18 PM, Joaquin Cabrerizo Egea <lct...@gmail.com> wrote:
Greg you did a very good job as always testing this behavior. After my tests (not as good as yours) I ended up with the same thought, softwareupdate is broken, not Munki fault, and we need to point users to Apple GUI. I will file an issue with Apple as well but I will as well start testing Nudge by Erik Gomez ASAP.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/FAAD2B63-8367-4380-94F4-00D3A7BC95A5%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/98B3658A-A9E6-42AD-B06B-EF563BFA9703%40gmail.com.
On Feb 18, 2020, at 7:38 AM, Michal Moravec <micha...@gmail.com> wrote:Test case:- VM with 10.15.2.- No GUI user is logged in- SSH into the Mac as local admin
Test A.1. `sudo /usr/sbin/softwareupdate --install --all --restart`Works. macOS is rebooted
On Feb 17, 2020, at 12:33 PM, 'Gregory Neagle' via munki-dev <munk...@googlegroups.com> wrote:Next experiment: I turned on SSH and sshed into a 10.14.5 VM sitting at the loginwindow. `sudo softwareupdate -iaR` did download, set up the install and reboot the VM to kick off the real OS update.
Test B.1. `sudo su -`
-Greg
-Greg
Behavior unchanged in 10.14.4.
No difference in 10.14.3...
-Greg
<PastedGraphic-1.png>
To unsubscribe from this group and stop receiving emails from it, send an email to munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/1E0A2018-3862-4129-8383-ED7A31487E37%40mac.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 munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/901D2232-EAB8-449B-88A2-2F6237DB9B45%40mac.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 munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/FFAA053A-BBCC-4334-97EF-61F4973290E2%40mac.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 munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/6DCDA398-0982-4FFA-8210-3E5C6FC0C914%40mac.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 munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/20251678-A7FF-4128-8691-57593CB295EB%40mac.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 munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/710D9817-F515-47F3-8F43-66CA72FD11C7%40mac.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 munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/230654DA-A563-4FF9-BA84-9EAA70A2B331%40mac.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 munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/9817D99A-CB17-43F0-B6FC-C7F2ACB4937E%40mac.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 munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/EFB9FFBC-3F7A-433C-8EC7-0828D70A8BAC%40mac.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 munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/FAAD2B63-8367-4380-94F4-00D3A7BC95A5%40gmail.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 munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/98B3658A-A9E6-42AD-B06B-EF563BFA9703%40gmail.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 view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/2a5cf6dc-fce8-47b8-bd77-1ab73de0e1fb%40googlegroups.com.
-Greg
-Greg
Behavior unchanged in 10.14.4.
No difference in 10.14.3...
-Greg
<PastedGraphic-1.png>
To unsubscribe from this group and stop receiving emails from it, send an email to munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/1E0A2018-3862-4129-8383-ED7A31487E37%40mac.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 munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/901D2232-EAB8-449B-88A2-2F6237DB9B45%40mac.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 munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/FFAA053A-BBCC-4334-97EF-61F4973290E2%40mac.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 munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/6DCDA398-0982-4FFA-8210-3E5C6FC0C914%40mac.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 munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/20251678-A7FF-4128-8691-57593CB295EB%40mac.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 munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/710D9817-F515-47F3-8F43-66CA72FD11C7%40mac.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 munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/230654DA-A563-4FF9-BA84-9EAA70A2B331%40mac.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 munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/9817D99A-CB17-43F0-B6FC-C7F2ACB4937E%40mac.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 munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/EFB9FFBC-3F7A-433C-8EC7-0828D70A8BAC%40mac.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 munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/FAAD2B63-8367-4380-94F4-00D3A7BC95A5%40gmail.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 munk...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/7d5aa811-6f67-4943-85d6-e1d042cf698f%40googlegroups.com.
-Greg
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/7d5aa811-6f67-4943-85d6-e1d042cf698f%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/059d02f3-df4f-4941-bd50-05ce9e6883dc%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/78968D90-7FD2-45A0-8AC2-D556F2040313%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/5C127626-18FD-4E34-99DC-7A4F15C46D81%40mac.com.
-Greg
-Greg
To unsubscribe from this group and stop receiving emails from it, send an email to munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/059d02f3-df4f-4941-bd50-05ce9e6883dc%40googlegroups.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 munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/78968D90-7FD2-45A0-8AC2-D556F2040313%40gmail.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 munk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/5C127626-18FD-4E34-99DC-7A4F15C46D81%40mac.com.
On Feb 19, 2020, at 3:49 PM, Kyle Crawford <kcr...@gmail.com> wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/13cb4e9c-d0bb-4122-8cf5-d5c5f5fb5fbc%40googlegroups.com.
On Feb 19, 2020, at 3:58 PM, Kyle Crawford <kcr...@gmail.com> wrote:It also failed with performAuthRestarts off so I don’t know. I guess I need to do more testing.Is there a way we could run these before the log out?
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/DFF40FAD-CE21-480B-B0E6-07096FA6A9D5%40gmail.com.
On Feb 19, 2020, at 6:59 PM, 'Gregory Neagle' via munki-dev <munk...@googlegroups.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/63C67801-8B48-4C4C-9AD2-E7B159A73B01%40mac.com.
On Feb 19, 2020, at 4:35 PM, Kyle Crawford <kcr...@gmail.com> wrote:
The idea being if we determine that startosinstall and softwareupdate -R do the right thing with a user logged in, could munki treat them as not requiring a logout.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/5CCC500A-EF3E-4598-B874-6279FEE909E5%40gmail.com.
On Feb 19, 2020, at 7:48 PM, 'Gregory Neagle' via munki-dev <munk...@googlegroups.com> wrote:
How would this work if no one is logged in?
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/BC00F74D-CA3F-42BD-BE6E-1B7D6CEC442D%40mac.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/5CCC500A-EF3E-4598-B874-6279FEE909E5%40gmail.com.
Software Update ToolFinding available softwareDownloaded macOS 10.14.6 UpdateInstalling macOS 10.14.6 UpdateDone.You have installed one or more updates that requires that you restart your computer.Restarting to complete installation of selected updates.
Connection to tests-mac.local closed by remote host.Connection to tests-mac.local closed.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/53D5FC36-0951-4061-B0DF-E32A02D32250%40mac.com.
Am 20.02.2020 um 18:40 schrieb 'Gregory Neagle' via munki-dev <munk...@googlegroups.com>:
A quick test of using a LaunchDaemon to run `softwareupdate -iaR` while a user is logged in on a VM running 10.14.5:
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/DBAC88AA-CF51-4E59-AC32-9341520DEFA0%40mac.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/74A9A313-3743-40A9-9EEE-E1DA45665B46%40gmail.com.
I don't think anyone at Apple tests the use of `softwareupdate` outside of the context of a local admin running it in their Terminal window, and maybe, possibly, via ARD.If this functionality is important to you, then yes, you should file a Feedback.Personally I think that's like doing a rain dance. It might rain later, but the connection to the two things is dubious. (Weather systems probably aren't affected by human dances)
-Greg
-Greg
-Greg
-Greg
Kyle
-Greg
-Greg
To view this discussion on the web visit <a href="https://group
On Feb 21, 2020, at 1:16 AM, Kyle Crawford <kcr...@gmail.com> wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/d96aa37c-8a7f-47cb-bb59-bdff02dc4ed9%40googlegroups.com.
Update on softwareupdate - -restart.Apple says it has to include - -force (if no user is logged in.)!I haven’t tested.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/5B73A10B-0B26-4407-B283-C7E381733632%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/A09E651C-A135-4396-BFBA-5E815EA14DD7%40mac.com.
-Greg
-Greg
-Greg
-Greg
Kyle
-Greg
On Tuesday, February 18, 2020 at 4:12:10 PM UTC+1, gregn...@mac.com wrote:<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color:
On Feb 27, 2020, at 8:44 PM, Eric Holtam <eho...@gmail.com> wrote:
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/4c18f7e0-0771-484e-9967-123d07d84d13%40googlegroups.com.
On Feb 27, 2020, at 9:01 PM, Gregory Neagle <gregn...@mac.com> wrote:
I currently have no code that i expect to handle that any better. Perhaps Kyle Crawford has some useful data we can leverage.
On Feb 28, 2020, at 12:11 AM, 'Gregory Neagle' via munki-dev <munk...@googlegroups.com> wrote:
Oh: are you looking at upgrading from pre-Catalina to 10.15.4b3, or to use softwareupdate to update from another version of Catalina to 10.15.4b3?
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/82EC836A-8539-4910-890D-0050002563A9%40mac.com.
On Feb 28, 2020, at 12:44 AM, Kyle Crawford <kcr...@gmail.com> wrote:
For startosinstall I am waiting for more info from Apple but so far they say they have confirmed that nvram variable BOSUpdateStarted is set when a BridgeOS update is pending following an install on 10.13.3 and later.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/25CBC302-DEBD-4D30-A148-22D7441C30C0%40gmail.com.
On softwareupdate --restart with --force: Apple suggests we test to see if it does what we intend regardless of the man page wording. I tried testing with an update that does require a restart and it restarted. I attempted to try with an update that doesn't require a restart, but I don't have any so I told it to install Command Line Tools for Xcode by touching the /tmp file. It installed and didn't restart but it didn't remove the /tmp file and the update still shows in --list so I'm not sure if that was a good test.
If someone could test --restart --force with an update that doesn't require a restart, that would be good.
We will also have to test a T2 update to validate that it shuts down. That will require a test device with out-of-date BridgeOS.
On startosinstall, it seems like checking for nvram variable BOSUpdateStarted and that the device has a T2 is a passable indicator for whether a shutdown is required. As long as the munki startosinstall postinstall_script or postflight run before the restart, this shutdown could be handled there without modification to munki itself.
Kyle
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/CDC81D21-E11E-4F2D-AB80-86F4E17F3BD5%40mac.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/CAEc%3DQfssyiCzON2KBZHrJcCsr2o5D%2B8drwXq9uBF8BPnvoEv_A%40mail.gmail.com.
#!/bin/bash
echo "* * * Installing all updates available from Apple * * *"
echo
echo "- - - MAKE SURE THIS COMPUTER IS CONNECTED TO A POWER SOURCE - - -"
echo
echo "- - - PLEASE WAIT UNTIL ALL UPDATES ARE INSTALLED - - -"
echo
if ! softwareupdate -l 2>&1 | grep -q 'No new software'
then
/usr/sbin/softwareupdate -i -a &> /tmp/aswupd_log.txt
chmod a+rw /tmp/aswupd_log.txt 2>/dev/null
cat /tmp/aswupd_log.txt 2>/dev/null
echo
if grep -q -i 'must shut down' /tmp/aswupd_log.txt
then
echo
echo "* * * UPDATES NEED SHUTDOWN NOW * * *"
sleep 5
halt
else
echo
echo "* * * REBOOTING NOW * * *"
sleep 5
reboot
fi
fi
echo "* * * Done with Apple updates * * *"
exit 0
When doing a startosinstall-style upgrade using munki, T2 devices download iBridge OS updates during the prepare phase of the install to meet the BridgeOS version requirement for the upgrade.These can be seen in /var/log/install.log.2020-02-05 15:50:33-05 mac osinstallersetupd[55201]: Started downloading package com.apple.pkg.BridgeOSUpdateCustomer (http://swcdn.apple.com/content/downloads/13/03/061-62855-A_I1OL4KN694/q73ftsncfsp5s3ev58sl2u7chcyfep1wca/BridgeOSUpdateCustomer.pkg)
This happens as part of startosinstall, not a normal softwareupdate run. And I think any configured CatalogURL is ignored.The issue is that iBridge updates usually require a shutdown.It after a BridgeOS update, the device is not shut down, but is instead restarted, the BridgeOS update will fail and thereby the OS upgrade will also fail.munki has support for detecting the need for a shutdown when it is using softwareupdate, but not currently in startosinstall-based installs.Currently with startosinstall, if munki has PerformAuthRestarts enabled, it will only every try to do a restart.If PerformAuthRestarts is not enabled, I think munki allows startosinstall to handle the shutdown/restart and it does the right thing.I'm not sure what can be done to improve this or whether PerformAuthRestarts still adds value.There is no authshutdown option to fdesetup that I am aware of.And I am not sure whether it is possible to detect the need for a shutdown during a startosinstall-based run.If anyone else would like to confirm this behavior it might at least warrant a warning in the munki authrestarts wiki page and perhaps feedback to Apple.Kyle
On Mar 11, 2020, at 8:33 AM, Michal Moravec <micha...@gmail.com> wrote:
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/munki-dev/b403cb0b-0edc-4a88-aea9-9ab66e9e487d%40googlegroups.com.