podman/docs/source
Valentin Rothberg 5307218419 generate systemd: make mounts portable
Commit 748826fc88 fixed a bug where slow mounting of the runroot was
causing issues when the units are started at boot.  The fix was to add
the container's runroot to the required mounts; the graph root has been
added as well.

Hard-coding the run- and graphroot to the required mounts, however,
breaks the portability of units generated with --now.  Those units are
intended to be running on any machine as, theoreticaly, any user.

Make the mounts portable by using the `%t` macro for the run root.
Since the graphroot's location varies across root and ordinary users,
drop it from the list of required mounts.  The graphroot was not causing
issues.

Fixes: #10493
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-05-31 11:31:27 +02:00
..
_static
markdown generate systemd: make mounts portable 2021-05-31 11:31:27 +02:00
Commands.rst
Introduction.rst
Reference.rst
Search.rst
Tutorials.rst
conf.py
connection.rst
generate.rst
healthcheck.rst
image.rst
includes.rst
index.rst
machine.rst
managecontainers.rst
manifest.rst
network.rst
play.rst
pod.rst
secret.rst
system.rst
volume.rst