-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libpod: correctly pass env so alternative locales work #18863
Conversation
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: haircommander, rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
b8d9c77
to
ac9e9cc
Compare
Tests are failing on (1) all debian and (2) all containerized. Finding the common factor is left as an exercise for the reader. |
A friendly reminder that this PR had no activity for 30 days. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Friendly ping
sorry I don't have bandwidth to find the issue with the failing tests. Does anyone have any to help me? |
In debian-12 I see:
Same in f38 container. Maybe an old/bad version of conmon? Might be worth rebasing on main, since I think we have a new Debian VM? Containers: maybe this diff could help? diff --git a/contrib/cirrus/lib.sh b/contrib/cirrus/lib.sh
index 3e88fed73..d55f034f4 100644
--- a/contrib/cirrus/lib.sh
+++ b/contrib/cirrus/lib.sh
@@ -96,7 +96,7 @@ EPOCH_TEST_COMMIT="$CIRRUS_BASE_SHA"
PASSTHROUGH_ENV_EXACT='CGROUP_MANAGER|DEST_BRANCH|DISTRO_NV|GOCACHE|GOPATH|GOSRC|NETWORK_BACKEND|OCI_RUNTIME|ROOTLESS_USER|SCRIPT_BASE|SKIP_USERNS|EC2_INST_TYPE|PODMAN_DB'
# List of envariable patterns which must match AT THE BEGINNING of the name.
-PASSTHROUGH_ENV_ATSTART='CI|TEST'
+PASSTHROUGH_ENV_ATSTART='CI|TEST|LC_|LANG'
# List of envariable patterns which can match ANYWHERE in the name
PASSTHROUGH_ENV_ANYWHERE='_NAME|_FQIN' |
in addition to containers@b6167ce we also need to pass LANG. Do so, and add a test to verify Signed-off-by: Peter Hunt <[email protected]>
thanks @edsantiago I have adopted your suggestions :) |
Grumble. Try this instead:
Reason:
|
Signed-off-by: Peter Hunt <[email protected]>
Oh well, it was worth a try. Someone with access to |
I took a quick look, I think this locale is simply not installed/generated on debian
So I would assume the answer is to make sure |
Closing in favor of #19635 |
in addition to b6167ce we also need to pass LANG. Do so, and add a test to verify
Does this PR introduce a user-facing change?
fixes containers/conmon#272