summaryrefslogtreecommitdiff
path: root/docs/source/markdown
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-08 12:42:05 +0200
committerGitHub <noreply@github.com>2020-04-08 12:42:05 +0200
commit878570bf70c124b738f818171d681d8c737797da (patch)
tree8893e126c5dc2482b829096771db87567504c78b /docs/source/markdown
parentb4840ec0d34bd679faefe06ce52ee6cebcb8f0b5 (diff)
parentaf8332267985a94bb49ba142068bf0e8f8bc1cb0 (diff)
downloadpodman-878570bf70c124b738f818171d681d8c737797da.tar.gz
podman-878570bf70c124b738f818171d681d8c737797da.tar.bz2
podman-878570bf70c124b738f818171d681d8c737797da.zip
Merge pull request #5724 from zypA13510/patch-1
man page: add note about issue with SELinux
Diffstat (limited to 'docs/source/markdown')
-rw-r--r--docs/source/markdown/podman-generate-systemd.1.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-generate-systemd.1.md b/docs/source/markdown/podman-generate-systemd.1.md
index 57ed9a5eb..81db0bd54 100644
--- a/docs/source/markdown/podman-generate-systemd.1.md
+++ b/docs/source/markdown/podman-generate-systemd.1.md
@@ -18,6 +18,8 @@ Note that this command is not supported for the remote client.
Generate files instead of printing to stdout. The generated files are named {container,pod}-{ID,name}.service and will be placed in the current working directory.
+Note: On a system with SELinux enabled, the generated files will inherit contexts from the current working directory. Depending on the SELinux setup, changes to the generated files using `restorecon`, `chcon`, or `semanage` may be required to allow systemd to access these files. Alternatively, use the `-Z` option when running `mv` or `cp`.
+
**--name**, **-n**
Use the name of the container for the start, stop, and description in the unit file