From f98d3e512341f8fe0bcb49d59be1cd3d175de251 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Jan 13 2026 21:43:22 +0000 Subject: Scriptlets: forbid communicating messages through scriptlet output --- diff --git a/guidelines/modules/ROOT/pages/Scriptlets.adoc b/guidelines/modules/ROOT/pages/Scriptlets.adoc index 7f9290a..505b394 100644 --- a/guidelines/modules/ROOT/pages/Scriptlets.adoc +++ b/guidelines/modules/ROOT/pages/Scriptlets.adoc @@ -16,6 +16,10 @@ to automatically run scripts when files are placed in certain locations. This potentially obviates the need for most of the scriptlets on this page, but is not currently implemented in all cases where it could be. +Packages MUST NOT rely on writing to stdout / stderr in RPM scriptlets +for the purpose of communicating non-fatal issues, warnings, or other messages +to the user. + == Default Shell In Fedora, all scriptlets can safely assume they are running under the bash shell