-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unfortunately, older podman versions rely on conmon truncating the unix socket length when setting up the attach socket. Introduce a flag to gate the changed behavior, allowing newer podman versions to be able to handle longer UID in rootless mode, but also allowing older podman versions to work. This also removes the logic for `do_chdir` in favor of using a /proc/self/fd entry for the sock path. That allows conmon to not chdir before attaching to the unix socket. Signed-off-by: Peter Hunt <pehunt@redhat.com>
- Loading branch information
1 parent
7bc96c7
commit 93f5b30
Showing
3 changed files
with
46 additions
and
28 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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