mirror of
https://github.com/jamf/Setup-Manager.git
synced 2026-02-03 14:13:24 +00:00
[dataloss bug] Log file truncated on disk #52
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fraserhess on GitHub.
I'm not sure if this is new in 1.3 or because of a
finishedTriggerin 1.3, but let me explain.Reproducibly, I have an incomplete log file at
/Library/Logs/Setup Manager.log. It's around 12Kb in size and stops in the middle of a log message. (I am happy to provide an example file privately.)Perhaps relevant to 1.3, I am testing a
finishedTriggerthat installs Jamf Connect and restarts. It's possible that either the Jamf Connect install kills the loginwidow and Setup Manager processes is doing so before the log file is written to disk or theshutdowncommand is cancelling a deferred write.@fraserhess commented on GitHub:
12458 bytes seems to be the important limit.
Testing results:
1.3 beta with 1.3 configuration (finalAction: none; finishedTrigger): log truncated at 12458 bytes
1.3 beta with 1.2 configuration (finalAction: restart; no finishedTrigger): log is still truncated at 12458 bytes
1.2.2 with 1.2 configuration: log is 65652 bytes
@scriptingosx commented on GitHub:
fixed in 1.3