]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal: rename special journal field _SYSTEM_CONTEXT= → _RUNTIME_SCOPE=
authorLennart Poettering <lennart@poettering.net>
Thu, 25 Aug 2022 15:32:28 +0000 (17:32 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 25 Aug 2022 21:27:26 +0000 (22:27 +0100)
commitabd6faae80fa87ecc24a000447b86fc32499809d
tree908abf14e1e4b881b41cec96098acfc733f59ff3
parentbf07a1251615629d4fc663b773ef1daf9aad77af
journal: rename special journal field _SYSTEM_CONTEXT= → _RUNTIME_SCOPE=

Previously the field "_SYSTEM_CONTEXT" knew he values "initrd" + "main". Let's change
this to "_RUNTIME_SCOPE" and "initrd" + "system".

Why? The sysext logic has a very similar concept of "scopes", declaring
whether a sysext image is intended for the initrd or the main system.
Let's thus use the same naming for both.

sysext's extension-release files hence know SYSEXT_SCOPE=initrd|system,
and the journal messages know _RUNTIME_SCOPE=initrd|system, which makes
this reasonably systematic.

Follow-up for: cae8edd93ca2ef90c41cb9b6322b6908d12947b5

(This is not an API break, since no version with this commit has ever
been released.)
man/systemd.journal-fields.xml
src/journal/journald-server.c