From 05b9e1575039e3587c68dad8aa5746722b903f9efa08d7c4e7284e4efb23ca30 Mon Sep 17 00:00:00 2001 From: Bruce Rogers Date: Fri, 14 Dec 2018 12:22:19 +0000 Subject: [PATCH] Accepting request 657981 from home:lin_ma:branches:Virtualization Use /bin/bash to echo value into sys fs for ksm control (bsc#1112646) OBS-URL: https://build.opensuse.org/request/show/657981 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=438 --- ksm.service | 4 ++-- qemu-testsuite.changes | 5 +++++ qemu.changes | 5 +++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ksm.service b/ksm.service index e5b573fc..0028d331 100644 --- a/ksm.service +++ b/ksm.service @@ -6,8 +6,8 @@ ConditionVirtualization=no [Service] Type=oneshot RemainAfterExit=yes -ExecStart=/bin/echo 1 > /sys/kernel/mm/ksm/run -ExecStop=/bin/echo 0 > /sys/kernel/mm/ksm/run +ExecStart=/bin/bash -c "/bin/echo 1 > /sys/kernel/mm/ksm/run" +ExecStop=/bin/bash -c "/bin/echo 0 > /sys/kernel/mm/ksm/run" [Install] WantedBy=multi-user.target diff --git a/qemu-testsuite.changes b/qemu-testsuite.changes index 92c7eb72..f86523e5 100644 --- a/qemu-testsuite.changes +++ b/qemu-testsuite.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 14 06:24:53 UTC 2018 - lma@suse.com + +- Use /bin/bash to echo value into sys fs for ksm control (bsc#1112646) + ------------------------------------------------------------------- Wed Dec 12 21:33:13 UTC 2018 - Bruce Rogers diff --git a/qemu.changes b/qemu.changes index 92c7eb72..f86523e5 100644 --- a/qemu.changes +++ b/qemu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 14 06:24:53 UTC 2018 - lma@suse.com + +- Use /bin/bash to echo value into sys fs for ksm control (bsc#1112646) + ------------------------------------------------------------------- Wed Dec 12 21:33:13 UTC 2018 - Bruce Rogers