summaryrefslogtreecommitdiffstats
path: root/man/portablectl.xml
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2024-02-07 01:36:39 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2024-02-08 22:11:26 +0100
commit82047a6aa7230031d2a579e81d5f8871c23e0616 (patch)
treedb8fbbc83232c2a7e0ad640e74d13aee4ada0833 /man/portablectl.xml
parentman: mention that preset-all is performed during early boot (diff)
downloadsystemd-82047a6aa7230031d2a579e81d5f8871c23e0616.tar.xz
systemd-82047a6aa7230031d2a579e81d5f8871c23e0616.zip
portable: add --copy=mixed to copy images and link profiles
This new mode copies resources provided by the client, so that they remain available for inspect/detach even if the original images are deleted, but symlinks the profile as that is owned by the OS, so that updates are automatically applied.
Diffstat (limited to 'man/portablectl.xml')
-rw-r--r--man/portablectl.xml14
1 files changed, 8 insertions, 6 deletions
diff --git a/man/portablectl.xml b/man/portablectl.xml
index d0d00cf5d2..d241893d4d 100644
--- a/man/portablectl.xml
+++ b/man/portablectl.xml
@@ -321,12 +321,14 @@
<varlistentry>
<term><option>--copy=</option></term>
- <listitem><para>When attaching an image, select whether to prefer copying or symlinking of files installed into
- the host system. Takes one of <literal>copy</literal> (to prefer copying of files), <literal>symlink</literal>
- (to prefer creation of symbolic links) or <literal>auto</literal> for an intermediary mode where security
- profile drop-ins are symlinked while unit files are copied. Note that this option expresses a preference only,
- in cases where symbolic links cannot be created — for example when the image operated on is a raw disk image,
- and hence not directly referentiable from the host file system — copying of files is used
+ <listitem><para>When attaching an image, select whether to prefer copying or symlinking of files
+ installed into the host system. Takes one of <literal>copy</literal> (files will be copied),
+ <literal>symlink</literal> (to prefer creation of symbolic links), <literal>auto</literal> for an
+ intermediary mode where security profile drop-ins and images are symlinked while unit files are
+ copied, or <literal>mixed</literal> (since v256) where security profile drop-ins are symlinked while
+ unit files and images are copied. Note that this option expresses a preference only, in cases where
+ symbolic links cannot be created — for example when the image operated on is a raw disk image, and
+ hence not directly referentiable from the host file system — copying of files is used
unconditionally.</para>
<xi:include href="version-info.xml" xpointer="v239"/></listitem>