Comment 0 for bug 2040082

Revision history for this message
Claudio Leite (leitec) wrote :

After upgrading to mantic, I had an error launching any (root mode) container with podman. I then confirmed this happens on a clean 23.10 VM.

root@ubuntu:~# podman run --rm -it ubuntu
Error: install profile containers-default-0.50.1: generate default profile into pipe: get AppArmor version: convert AppArmor patch version: strconv.Atoi: parsing "0~alpha2": invalid syntax
root@ubuntu:~#

This issue has recently been fixed upstream in containers/common:
  https://github.com/containers/podman/issues/20278
  https://github.com/containers/common/pull/1689

The patch applies cleanly to this version. After rebuilding podman against the patched package everything worked as expected.

root@ubuntu:~# lsb_release -rd
No LSB modules are available.
Description: Ubuntu 23.10
Release: 23.10
root@ubuntu:~#

root@ubuntu:~# apt-cache policy podman
podman:
  Installed: 4.3.1+ds1-8
  Candidate: 4.3.1+ds1-8
  Version table:
 *** 4.3.1+ds1-8 500
        500 http://us.archive.ubuntu.com/ubuntu mantic/universe amd64 Packages
        100 /var/lib/dpkg/status
root@ubuntu:~#