summaryrefslogtreecommitdiffstats
path: root/catalog
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-06-27 18:46:28 +0200
committerLennart Poettering <lennart@poettering.net>2023-06-27 23:21:03 +0200
commitf4d4ca6e2be114d906db147d0cf224f13a8b29b2 (patch)
tree57d4743139b5c9fa27b834799151b994036d1dfb /catalog
parentjournalctl: read env vars that override compiled catalog database and source ... (diff)
downloadsystemd-f4d4ca6e2be114d906db147d0cf224f13a8b29b2.tar.xz
systemd-f4d4ca6e2be114d906db147d0cf224f13a8b29b2.zip
sysv-generator: make sysv deprecation message a bit "louder"
Let's add a catalog entry, make the log record structured, and most importantly, let's add warning emojis. Just to underline that this stuff should really go away.
Diffstat (limited to 'catalog')
-rw-r--r--catalog/systemd.catalog.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/catalog/systemd.catalog.in b/catalog/systemd.catalog.in
index 913d4987ac..8ca0b4d227 100644
--- a/catalog/systemd.catalog.in
+++ b/catalog/systemd.catalog.in
@@ -564,3 +564,23 @@ the OS.
@TRIMMED_BYTES@ of memory were returned to the OS, which took @TRIMMED_USEC@
micro-seconds (μs).
+
+-- a8fa8dacdb1d443e9503b8be367a6adb
+Subject: SysV Service Found
+Defined-By: systemd
+Support: %SUPPORT_URL%
+
+A System V service script @SYSVSCRIPT@ has been found on the system that lacks
+a native systemd unit. An automatic unit file @UNIT@ has been generated for
+compatibility.
+
+Note that these automatically generated compatibility unit files cannot replace
+native unit files as they generally slow down the system (by creating
+unnecessary, additional synchronization points), are less robust (as SysV services
+cannot properly be life-cycle tracked or automatically restarted) and less
+secure (as no sandboxing restrictions can be enforced).
+
+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 necesssary. Compatibility support for System V
+services is deprecated and will be removed soon.