systemd/docs
Luca Boccassi 8c8331fc50 portable: include base and extension images in log fields
When a portable service uses extensions, we use the 'main' image name
(the one where the unit was found in) as PORTABLE=. It is useful to
also list all the images actually used at runtime, as they might
contain libraries and so on.

Use PORTABLE_ROOT= for the image/directory that is used as RootImage=
or RootDirectory=, and PORTABLE_EXTENSION= for the image/directory that
is used as ExtensionImages= or ExtensionDirectories=.

Note that these new fields are only added if extensions are used,
there's no change for single-DDI portables.

Example with a base and two extensions, with the unit coming from the
first extension:

[Service]
RootImage=/home/bluca/git/systemd/base.raw
Environment=PORTABLE=app0.raw
BindReadOnlyPaths=/etc/os-release:/run/host/os-release
LogExtraFields=PORTABLE=app0.raw
LogExtraFields=PORTABLE_ROOT=base.raw

ExtensionImages=/home/bluca/git/systemd/app0.raw
LogExtraFields=PORTABLE_EXTENSION=app0.raw

ExtensionImages=/home/bluca/git/systemd/app1.raw
LogExtraFields=PORTABLE_EXTENSION=app1.raw
2023-03-28 10:36:01 +01:00
..
_data
_includes update footer to 2023 2023-01-29 20:26:28 +09:00
_layouts
assets
fonts
sysvinit
var-log
.gitattributes
.gitignore
_config.yml
ARCHITECTURE.md docs: fix grammar a bit 2023-01-23 22:52:34 +00:00
AUTOMATIC_BOOT_ASSESSMENT.md docs: fix grammar a bit 2023-01-23 22:52:34 +00:00
BLOCK_DEVICE_LOCKING.md tree-wide: use -EBADF for fd initialization 2022-12-19 15:00:57 +01:00
BOOT_LOADER_INTERFACE.md Merge pull request #25379 from keszybz/update-doc-links 2022-11-22 01:07:13 +01:00
BOOT_LOADER_SPECIFICATION.md docs: DPS and BLS have moved to uapi-group.org 2022-11-02 07:31:18 +09:00
BUILDING_IMAGES.md docs, man: consistently use comma after "For example" 2023-01-23 22:52:34 +00:00
CGROUP_DELEGATION.md docs, man: consistently use comma after "For example" 2023-01-23 22:52:34 +00:00
CODE_OF_CONDUCT.md
CODE_QUALITY.md docs: fix formatting a bit 2023-01-23 22:52:34 +00:00
CODING_STYLE.md CODING_STYLE: note that 'unsigned' form is preferred over 'unsigned int' 2023-03-08 21:17:23 +00:00
CONTAINER_INTERFACE.md docs: fix grammar a bit 2023-01-23 22:52:34 +00:00
CONTRIBUTING.md docs: fix formatting a bit 2023-01-23 22:52:34 +00:00
CONVERTING_TO_HOMED.md docs: tweak rsync flags for moving existing home dir to systemd-homed 2023-02-01 20:47:56 +00:00
COREDUMP_PACKAGE_METADATA.md
CREDENTIALS.md treewide: fix a few typos in NEWS, docs and comments 2023-02-15 10:41:03 +00:00
DESKTOP_ENVIRONMENTS.md
DISCOVERABLE_PARTITIONS.md docs: DPS and BLS have moved to uapi-group.org 2022-11-02 07:31:18 +09:00
DISTRO_PORTING.md docs: fix grammar a bit 2023-01-23 22:52:34 +00:00
ELF_PACKAGE_METADATA.md doc: update ELF_PACKAGE_METADATA to use linker flag instead of manual script 2023-03-16 08:38:39 +01:00
ENVIRONMENT.md repart: Add support for reading mkfs options from environment 2023-03-10 09:33:39 +01:00
favicon.png
favicon.svg
GROUP_RECORD.md
HACKING.md docs: Explicitly tell developers to enable mkosi required meson options 2023-03-23 13:09:09 +00:00
HOME_DIRECTORY.md
index.md
INITRD_INTERFACE.md tree-wide: use mode=0nnn for mount option 2022-12-14 22:12:44 +01:00
JOURNAL_EXPORT_FORMATS.md man: document __SEQNUM=/__SEQNUM_ID= journal pseudo fields 2023-02-08 13:42:30 +01:00
JOURNAL_FILE_FORMAT.md journal-file: journal-file: extend journal header to always carry offset of most recent entry 2023-03-02 10:03:15 +01:00
JOURNAL_NATIVE_PROTOCOL.md
MEMORY_PRESSURE.md doc: add document explaining memory pressure handling 2023-03-01 09:43:24 +01:00
NETWORK_ONLINE.md doc: correct wrong use "'s" contractions 2023-03-07 13:39:31 +01:00
PASSWORD_AGENTS.md Use https for man7.org 2022-06-28 16:05:31 +02:00
PORTABILITY_AND_STABILITY.md docs, man: consistently use comma after "For example" 2023-01-23 22:52:34 +00:00
PORTABLE_SERVICES.md portable: include base and extension images in log fields 2023-03-28 10:36:01 +01:00
PORTING_TO_NEW_ARCHITECTURES.md docs: fix grammar a bit 2023-01-23 22:52:34 +00:00
PREDICTABLE_INTERFACE_NAMES.md docs: move some stuff into "Networking" section 2022-07-05 11:22:06 +01:00
RANDOM_SEEDS.md docs: fix grammar a bit 2023-01-23 22:52:34 +00:00
RELEASE.md docs: update instructions for translation strings 2023-01-24 13:30:02 +00:00
RESOLVED-VPNS.md
ROOT_STORAGE_DAEMONS.md tree-wide: also settle on "initrd" instead of "initial RAM disk" 2022-09-23 15:12:18 +02:00
SECURITY.md
style.css docs: desaturate dark-mode background color 2022-06-10 13:52:31 +02:00
TEMPORARY_DIRECTORIES.md Use https for man7.org 2022-06-28 16:05:31 +02:00
TESTING_WITH_SANITIZERS.md docs: fix grammar a bit 2023-01-23 22:52:34 +00:00
TRANSIENT-SETTINGS.md journal: log filtering options support in PID1 2022-12-15 09:57:39 +00:00
TRANSLATORS.md
UIDS-GIDS.md docs: update unit name for sd-tmpfiles-setup 2023-03-19 01:32:50 +08:00
USER_GROUP_API.md docs, man: consistently use comma after "For example" 2023-01-23 22:52:34 +00:00
USER_NAMES.md docs, man: consistently use comma after "For example" 2023-01-23 22:52:34 +00:00
USER_RECORD.md docs: s/authorized_key/authorized_keys/ 2023-03-24 16:16:50 +01:00
USERDB_AND_DESKTOPS.md docs, man: consistently use comma after "For example" 2023-01-23 22:52:34 +00:00