podman: update to 3.1.1 15480/head
authorOskari Rauta <oskari.rauta@gmail.com>
Tue, 20 Apr 2021 21:18:27 +0000 (00:18 +0300)
committerOskari Rauta <oskari.rauta@gmail.com>
Wed, 21 Apr 2021 01:38:35 +0000 (04:38 +0300)
commit5bb8844fe3e8d6def59f76301acf4c294d38dd30
tree6a57dbc4b58a272422a897fdcf2ce8a557bb59d3
parent272b0a5c1873a34f6609e7af38395cea3f02bda5
podman: update to 3.1.1

 - Add support for AppArmor
 - Gracefully stop containers and pods on shutdown

I found out that If you change location of containers to persistent storage instead of tmpfs, starting them will fail unless they have been stopped. If this is the case that reboot has occurred before pods and containers have been stopped, they cannot be started, they have to be removed and re-created. Change in initscript tries to avoid that. Even if containers are running at tmpfs, this won't hurt. Still, if something happens and system hangs/reboots/etc, script won't save you from that. It's just a attempt to make things better.
I also enabled AppArmor support for future possibilities.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
utils/podman/Makefile
utils/podman/files/podman.init