-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Podman cannot mount /etc/localtime in some containers on ubuntu-20.04 #2759
Comments
Looks like containers/crun#593 may have fixed this - it's in crun 0.18, which hasn't made it into the kubic PPA yet. |
(Alternatively, runc doesn't seem to have this problem, but that will presumably be more resource intensive.) |
warning msg is fixed in containers/podman#9353 |
@lsm5, Do you have any ETA to update crun to 0.18 in OPS repo? |
in the meantime using runc solves the issue, but this is a temporal fix |
Working on it now ... |
Building on OBS atm https://build.opensuse.org/package/show/devel:kubic:libcontainers:stable/crun Should land on the repos in an hour or less. |
I screwed up the build. My bad, building a new one now. |
building 0.18-2 now https://build.opensuse.org/package/show/devel:kubic:libcontainers:stable/crun |
The new image with building 0.18-2 has been deployed. |
Description
Some new warnings appear in output since Podman v3.0.0
Which may or may not be related to an error when trying to mount
/etc/localtime
into a containerNot 100% sure if these are bugs in
podman
itself. If they are, I am not 100% sure how to replicate Github Action's configuration forpodman
to be able to independently reproduce the errors.Area for Triage:
Containers
Question, Bug, or Feature?:
Bug
Virtual environments affected
Image version
Expected behavior
Can mount
/etc/localtime
into containers usingpodman
Actual behavior
Fails
Repro steps
Example
.github/workflows/text.yml
Result: https://github.com/FNNDSC/chrispile/runs/1934431316
(debian, podman)
.(alpine, podman)
docker
I am unable to narrow down the minimum example any further. The example below works:
In other tests the facts that
/etc/localtime
is a symlink owned by root to a file owned by root do not seem to matter.The text was updated successfully, but these errors were encountered: