podman/pkg/systemd
Robb Manes 748826fc88 Add RequiresMountsFor= to systemd generate
It is rare but possible that storage locations for the graphroot and the
runroot are not mounted at boot time, and therefore might race when
doing container operations.  An example we've seen in the wild is that a
slow tmpfs mount for the runroot would suddenly mount over /run, causing
the container to lose all currently-running data, requiring a system
refresh to get it back.

This patch adds RequiresMountsFor= to the systemd.unit header to ensure
the paths for both the graphroot and runroot are mounted prior to
starting any generated unit files.

Signed-off-by: Robb Manes <rmanes@redhat.com>
2021-03-26 08:53:26 -04:00
..
define Do not leak libpod package into the remote client 2021-03-15 14:02:04 +01:00
generate Add RequiresMountsFor= to systemd generate 2021-03-26 08:53:26 -04:00
activation.go V2 Fix support for tcp://[::]<port> connections 2020-04-17 16:39:59 -07:00
dbus.go bump go module to v3 2021-02-22 09:03:51 +01:00