diff options
author | Luca Boccassi <bluca@debian.org> | 2024-02-07 01:36:39 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-02-08 22:11:26 +0100 |
commit | 82047a6aa7230031d2a579e81d5f8871c23e0616 (patch) | |
tree | db8fbbc83232c2a7e0ad640e74d13aee4ada0833 /man/org.freedesktop.portable1.xml | |
parent | man: mention that preset-all is performed during early boot (diff) | |
download | systemd-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/org.freedesktop.portable1.xml')
-rw-r--r-- | man/org.freedesktop.portable1.xml | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/man/org.freedesktop.portable1.xml b/man/org.freedesktop.portable1.xml index a41da4f5c3..9b49c610d5 100644 --- a/man/org.freedesktop.portable1.xml +++ b/man/org.freedesktop.portable1.xml @@ -229,16 +229,23 @@ node /org/freedesktop/portable1 { for the current boot session, and a string representing the preferred copy mode (whether to copy the image or to just symlink it) with the following possible values: <itemizedlist> - <listitem><para>(null)</para></listitem> + <listitem><para>(empty)</para></listitem> <listitem><para>copy</para></listitem> <listitem><para>symlink</para></listitem> + + <listitem><para>mixed</para></listitem> </itemizedlist> - This method returns the list of changes applied to the system (for example, which unit was - added and is now available as a system service). Each change is represented as a triplet of - strings: the type of change applied, the path on which it was applied, and the source - (if any). The type of change applied will be one of the following possible values: + If an empty string is passed the security profile drop-ins and images will be symlinked while unit + files will be copied, <varname>copy</varname> will copy, <varname>symlink</varname> will prefer + linking if possible (e.g.: a unit has to be copied out of an image), and <varname>mixed</varname> will + prefer linking the resources owned by the OS (e.g.: the portable profile located within the host's + /usr/ tree) but will copy the resources owned by the portable image (e.g.: the unit files and the + images). This method returns the list of changes applied to the system (for example, which unit was + added and is now available as a system service). Each change is represented as a triplet of strings: + the type of change applied, the path on which it was applied, and the source (if any). The type of + change applied will be one of the following possible values: <itemizedlist> <listitem><para>copy</para></listitem> |