munkireport / filevault_status

Filevault_status module for MunkiReport
1 stars 4 forks source link

Script time out on APFS while encrypting #2

Open ofirgalcon opened 5 years ago

ofirgalcon commented 5 years ago

The system is running 10.13.6 and currently encrypting. The module script produces this error on the client

WARNING: Munkireport: filevaultstatus: /usr/local/munki/preflight.d/filevaultstatus timed out

Increasing the timeout to 60 seconds did not help

macsimom commented 4 years ago

As per the fdesetup man page: "status [-extended] [-verbose] Returns current status about FileVault. On APFS volumes, the -extended option will give continuous updates and estimated completion times during encryption and decryption phases."

So it would seem the use of "-extended" on line 63 in https://github.com/munkireport/filevault_status/blob/master/scripts/filevaultstatus should probably be replaced "-verbose"