Hey tested the the patch with the following setup.

- run live Ubuntu 24.04.1 from USB stick
- installed podman and golang-github-containers-common=0.57.4+ds1-2ubuntu0.1
- created a podman pod and with a single container running nginx as root
- create systemd file from the pod (`sudo podman generate systemd --new --files 
--name test-pod`)
- start the pod via systemd (sudo systemctl start pod-test-pod.service`)
- checked if website was available on port 80
- stop the container via systemd (sudo systemctl stop pod-test-pod.service`)

After stopping I did following checks
- systemd finished without errors in a relative short time -> about 2 seconds 
from running stop command until I get the prompt back and no error messages
- checked if the pod or container service shows any error messages (sudo 
systemctl status) -> no errors
- if website is still available on port 80 -> no website available anymore
- sudo podman ps -> no container running

Therefore the patch solves my problems. Many thanks.

Cheers,
Simeon

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2040483

Title:
  AppArmor denies crun sending signals to containers (stop, kill)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-github-containers-common/+bug/2040483/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to