ALT Linux Bugzilla
– Attachment 14791 Details for
Bug 47289
Ошибка при вызове функции sysctl.assign
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
sed -i 's/_sysctl, "-w"/_sysctl, "-v", "-w"/' salt/modules/linux_sysctl.py
0001-spec-sed-the-flaky-sysctl-w-use-47289.patch (text/plain), 1018 bytes, created by
Michael Shigorin
on 2023-10-15 08:47:06 MSK
(
hide
)
Description:
sed -i 's/_sysctl, "-w"/_sysctl, "-v", "-w"/' salt/modules/linux_sysctl.py
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2023-10-15 08:47:06 MSK
Size:
1018 bytes
patch
obsolete
>From b3f5218159f103e0ce021ac247726b8ab3830404 Mon Sep 17 00:00:00 2001 >From: Michael Shigorin <mike@altlinux.org> >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 <mogaba@mail.ru> >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 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 47289
: 14791