aws / ec2-macos-init

EC2 macOS Init is the launch daemon used to initialize Mac instances within EC2.
https://aws.amazon.com/ec2/instance-types/mac/
Apache License 2.0
150 stars 19 forks source link

fix: remove deprecated launchd job key #20

Open jahkeup opened 2 years ago

jahkeup commented 2 years ago

Issue #, if available:

n/a

Description of changes:

This removes the Debug setting from the ec2-macos-init launchd job as currently (on Ventura) the launchd logs indicate the Debug key is deprecated.

2022-10-24 10:49:38.031943 (com.amazon.ec2.macos-init) <Error>: The Debug key is no longer respected. Please remove it.

I checked the open source releases of launchd to see if there's more context but couldn't find a comment in the available artifacts. That said, the man pages don't include a deprecation message, but clearly the launchd process thinks they're deprecated (see logs above). I'm inclined to trust the source (of launchd) here.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.