diff options
author | Luca Boccassi <bluca@debian.org> | 2024-01-18 20:32:47 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-01-19 17:03:04 +0100 |
commit | a0cca4d1b07e603e0ceeaff6d42518d5546617f8 (patch) | |
tree | 0d7590ca5ddb17efaec098d67eb7d1e36fad95d9 /catalog | |
parent | man: clarify description of Attach/Detach flags (diff) | |
download | systemd-a0cca4d1b07e603e0ceeaff6d42518d5546617f8.tar.xz systemd-a0cca4d1b07e603e0ceeaff6d42518d5546617f8.zip |
portable: log structured message when attach/detach succeeds
Currently portabled is completely silent (when not using debug level). But
when the system state is changed (ie: a portable is attached or detached)
there are no traces left in the journal. Log at info level when either of
those operations succeed, as they are effectively changing the state of
the system.
Create new MESSAGE_IDs for these logs, and also append PORTABLE_ROOT=
(and PORTABLE_EXTENSION= if any), like the units themselves are
configured to do via LogExtraFields=, so that the same metadata can
be found in the attach/detach messages and in logs from the units
themselves.
Diffstat (limited to 'catalog')
-rw-r--r-- | catalog/systemd.catalog.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/catalog/systemd.catalog.in b/catalog/systemd.catalog.in index 8591a654aa..04e90e0b75 100644 --- a/catalog/systemd.catalog.in +++ b/catalog/systemd.catalog.in @@ -748,3 +748,23 @@ Compatibility support for System V services in systemd is deprecated. Please make sure to update the package in question to provide proper, native systemd unit files. Contact vendor if necessary. Compatibility support for System V services is deprecated and will be removed soon. + +-- 187c62eb1e7f463bb530394f52cb090f +Subject: A Portable Service has been attached +Defined-By: systemd +Support: %SUPPORT_URL% +Documentation: https://systemd.io/PORTABLE_SERVICES/ + +A new Portable Service @PORTABLE_ROOT@ (with extensions: @PORTABLE_EXTENSION@) has +been attached to the system and is now available for use. The list of attached +Portable Services can be queried with 'portablectl list'. + +-- 76c5c754d628490d8ecba4c9d042112b +Subject: A Portable Service has been detached +Defined-By: systemd +Support: %SUPPORT_URL% +Documentation: https://systemd.io/PORTABLE_SERVICES/ + +A Portable Service @PORTABLE_ROOT@ (with extensions: @PORTABLE_EXTENSION@) has been +detached from the system and is no longer available for use. The list of attached +Portable Services can be queried with 'portablectl list'. |