SHA256
1
0
forked from pool/qemu

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
This commit is contained in:
Bruce Rogers 2018-12-14 12:22:19 +00:00 committed by Git OBS Bridge
parent 1ba86028cc
commit 05b9e15750
3 changed files with 12 additions and 2 deletions

View File

@ -6,8 +6,8 @@ ConditionVirtualization=no
[Service] [Service]
Type=oneshot Type=oneshot
RemainAfterExit=yes RemainAfterExit=yes
ExecStart=/bin/echo 1 > /sys/kernel/mm/ksm/run ExecStart=/bin/bash -c "/bin/echo 1 > /sys/kernel/mm/ksm/run"
ExecStop=/bin/echo 0 > /sys/kernel/mm/ksm/run ExecStop=/bin/bash -c "/bin/echo 0 > /sys/kernel/mm/ksm/run"
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -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 <brogers@suse.com> Wed Dec 12 21:33:13 UTC 2018 - Bruce Rogers <brogers@suse.com>

View File

@ -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 <brogers@suse.com> Wed Dec 12 21:33:13 UTC 2018 - Bruce Rogers <brogers@suse.com>