Remove StandardErrorPath and StandardOutPath from launchd plists#742
Merged
katiewasnothere merged 1 commit intoapple:mainfrom Oct 8, 2025
Merged
Conversation
Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
jglogan
approved these changes
Oct 8, 2025
saehejkang
pushed a commit
to saehejkang/container
that referenced
this pull request
Oct 9, 2025
…le#742) ## Type of Change - [x] Bug fix ## Motivation and Context We setup logging for the services in `container` using OSLog. See [here](https://github.com/apple/container/blob/73709232d2705b7008b7380fe90a373059b6074a/Sources/Helpers/APIServer/APIServer.swift#L31). This makes it unnecessary to redirect stderr and stdio for these services. Additionally, there are some cases where failure to open or write to the path given for StandardErrorPath or StandardOutPath in a service's plist could result in a failure to start a service through `launchctl`. Related to apple#713 ## Testing - [x] Tested locally Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
Ronitsabhaya75
pushed a commit
to Ronitsabhaya75/container
that referenced
this pull request
Oct 16, 2025
…le#742) ## Type of Change - [x] Bug fix ## Motivation and Context We setup logging for the services in `container` using OSLog. See [here](https://github.com/apple/container/blob/73709232d2705b7008b7380fe90a373059b6074a/Sources/Helpers/APIServer/APIServer.swift#L31). This makes it unnecessary to redirect stderr and stdio for these services. Additionally, there are some cases where failure to open or write to the path given for StandardErrorPath or StandardOutPath in a service's plist could result in a failure to start a service through `launchctl`. Related to apple#713 ## Testing - [x] Tested locally Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
Ronitsabhaya75
pushed a commit
to Ronitsabhaya75/container
that referenced
this pull request
Oct 16, 2025
…le#742) ## Type of Change - [x] Bug fix ## Motivation and Context We setup logging for the services in `container` using OSLog. See [here](https://github.com/apple/container/blob/73709232d2705b7008b7380fe90a373059b6074a/Sources/Helpers/APIServer/APIServer.swift#L31). This makes it unnecessary to redirect stderr and stdio for these services. Additionally, there are some cases where failure to open or write to the path given for StandardErrorPath or StandardOutPath in a service's plist could result in a failure to start a service through `launchctl`. Related to apple#713 ## Testing - [x] Tested locally Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of Change
Motivation and Context
We setup logging for the services in
containerusing OSLog. See here. This makes it unnecessary to redirect stderr and stdio for these services. Additionally, there are some cases where failure to open or write to the path given for StandardErrorPath or StandardOutPath in a service's plist could result in a failure to start a service throughlaunchctl.Related to #713
Testing