Skip to content

Container Manager Metadata Errors During Wake Events #219

@ajlowndes

Description

@ajlowndes

Description
The system logs show repeated metadata file read errors from containermanagerd when the system wakes from sleep. The errors indicate missing metadata files in the app's Group Containers.

Environment

  • App Version: 1.6.5 [1060501]
  • macOS Version: 13.6.9 (22G830)
  • Installation Method: Homebrew. output of brew info keepingyouawake is
==> keepingyouawake: 1.6.5 (auto_updates)
https://keepingyouawake.app/
Installed
/usr/local/Caskroom/keepingyouawake/1.4.0 (0B)
From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/k/keepingyouawake.rb
==> Name
KeepingYouAwake
==> Description
Tool to prevent the system from going into sleep mode
==> Artifacts
KeepingYouAwake.app (App)

Error Details
The system is repeatedly attempting to read metadata files that don't exist:

Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"

The missing files are:

  1. .com.apple.containermanagerd.metadata.plist in:
    • ~/Library/Group Containers/info.marcel-dierkes.KeepingYouAwake.Launcher/
    • ~/Library/Group Containers/info.marcel-dierkes.KeepingYouAwake/

Relevant Logs

containermanagerd: (ContainerManagerCommon) [com.apple.containermanager:metadata] Could not read metadata file at [/Users/[username]/Library/Group Containers/info.marcel-dierkes.KeepingYouAwake.Launcher/.com.apple.containermanagerd.metadata.plist]

containermanagerd: (ContainerManagerCommon) [com.apple.containermanager:metadata] Failed to read container metadata [<~~~>]: (127|1|2|[/Users/[username]/Library/Group Containers/info.marcel-dierkes.KeepingYouAwake/.com.apple.containermanagerd.metadata.plist])

Impact

  • The errors appear frequently in system logs during wake events
  • The app continues to function, but the missing metadata files might affect system integration
  • These errors might contribute to system log noise

Additional Notes

  • These errors were discovered while investigating system wake patterns
  • The errors consistently occur during system wake events
  • The app's core functionality (preventing sleep) appears unaffected

Questions

  1. Are these metadata files expected to exist?
  2. Should the app be creating these files during installation?
  3. Is this a known issue with the current version?

Confession
Claude AI helped me investigate this and even helped me write this report. Sorrynotsorry because I wouldn't understand most of this if it were left to me.

Steps to try next
Going to try uninstalling KYA and reinstalling from scratch to see if it changes the behaviour in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions