From b3f5218159f103e0ce021ac247726b8ab3830404 Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Sun, 15 Oct 2023 08:40:22 +0300 Subject: [PATCH] spec: sed the flaky sysctl -w use (#47289) sysctl -w gets used as if it was sysctl -v -w (which it isn't documented to be); fix at least the invocation. Reported-by: Vladimir Mokrozub See-also: http://bugzilla.altlinux.org/47289 See-also: http://bugzilla.altlinux.org/48008 --- salt.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/salt.spec b/salt.spec index eb994fd18c..eb4796d0e4 100644 --- a/salt.spec +++ b/salt.spec @@ -103,6 +103,8 @@ with XMLRPC or even a Websocket API. echo -n '%version' > salt/_version.txt # Remove local copy documentation mention subst 's| file:///usr/share/doc/salt/html/contents.html||' pkg/common/*.service +# Proper sysctl -w use: http://bugzilla.altlinux.org/47289 +sed -i 's/_sysctl, "-w"/_sysctl, "-v", "-w"/' salt/modules/linux_sysctl.py %build %pyproject_build -- 2.33.8