podman/docs/source
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
..
_static Cirrus: Upload swagger YAML in every context 2021-01-21 10:26:57 -05:00
markdown Add RequiresMountsFor= to systemd generate 2021-03-26 08:53:26 -04:00
Commands.rst Implement Secrets 2021-02-09 09:13:21 -05:00
Introduction.rst Fix typo 2021-01-25 10:34:23 -05:00
Reference.rst [CI:DOCS] Docs revamp. 2020-05-21 17:16:10 -04:00
Search.rst [CI:DOCS] Docs revamp. 2020-05-21 17:16:10 -04:00
Tutorials.rst [CI:DOCS]basic networking guide 2021-02-18 13:21:33 -06:00
conf.py squash 2020-11-25 18:27:31 +01:00
connection.rst Add missing pages for docs.podman.io 2020-08-10 19:35:23 -04:00
generate.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
healthcheck.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
image.rst Cross-reference *.rst files too 2020-08-11 08:03:37 -06:00
includes.rst Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
index.rst [CI:DOCS]update state of restful service 2021-01-26 09:12:07 -06:00
managecontainers.rst Initial implementation of renaming containers 2021-01-14 18:29:28 -05:00
manifest.rst podman manifest exists 2021-01-22 20:19:13 +01:00
network.rst add network prune 2021-02-06 07:37:29 -06:00
play.rst Update document formatting and packaging code 2019-10-31 12:31:39 -05:00
pod.rst Remove containers when pruning a stopped pod. 2019-11-26 13:19:31 -05:00
secret.rst Implement Secrets 2021-02-09 09:13:21 -05:00
system.rst Cross-reference *.rst files too 2020-08-11 08:03:37 -06:00
volume.rst podman volume exists 2021-01-21 19:18:51 +01:00