freedomofpress / dangerzone

Take potentially dangerous PDFs, office documents, or images and convert them to safe PDFs
https://dangerzone.rocks/
GNU Affero General Public License v3.0
3.58k stars 168 forks source link

ci: Update our CircleCI machines to Ubuntu 22.04 #914

Closed apyrgio closed 3 weeks ago

apyrgio commented 3 weeks ago

Update our CircleCI machines for specific tests (Debian Bookworm and Fedora 40). It seems that the newest Podman version (5.2.1+), when creating a container using the --userns nomap triggers a permission denied error in older kernels. E.g.:

Error: crun: cannot stat `/tmp/storage-run-1000/containers/overlay-containers/d00932f2600df7b0d8f4cc78e2346487ec92bfd17307127f3ae8d4e5bbc7887b/userdata/hosts`: Permission denied: OCI permission denied

The solution that works for us is to update the machine image from Ubuntu 20.04 to Ubuntu 22.04.

almet commented 3 weeks ago

Putting here the kernel versions, just in case:

harrislapiroff commented 3 weeks ago

I believe this closes #681 🎉 No more CI deadline looming!

harrislapiroff commented 3 weeks ago

We are still going to do #674 nevertheless :)