Bug 527653
Summary: | /etc/init.d/ksm: line 69: [: -eq: unary operator expected | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Qian Cai <qcai> |
Component: | qemu | Assignee: | Mark McLoughlin <markmc> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | rawhide | CC: | berrange, danken, dwmw2, gcosta, itamar, jaswinder, jforbes, markmc, quintela, virt-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-10-12 07:16:39 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 498968 |
Description
Qian Cai
2009-10-07 07:10:48 UTC
Thanks, here's the fix I'll push for F-12: http://gitorious.org/ksm-control-scripts/ksm-control-scripts/commit/c0b6774c9032ac3623a5d4f736707e6855e57867 Look okay to you danken? you'd probably prefer to throw away stderr, not stdout, in $(cat /sys/kernel/mm/ksm/run &>/dev/null) ;-) and come to think of it, doing [ "$(cat /sys/kernel/mm/ksm/run &>/dev/null)" != 1 ] is a bit more robust (or should I say paranoid?). (In reply to comment #2) > you'd probably prefer to throw away stderr, not stdout, in > $(cat /sys/kernel/mm/ksm/run &>/dev/null) > ;-) Gah, I fixed that, but forgot to include it before pushing > and come to think of it, doing > [ "$(cat /sys/kernel/mm/ksm/run &>/dev/null)" != 1 ] > is a bit more robust (or should I say paranoid?). Okay Pushed this: http://gitorious.org/ksm-control-scripts/ksm-control-scripts/commit/71db2c0ac8 * Fri Oct 9 2009 Mark McLoughlin <markmc> - 2:0.11.0-6 - Fix fs errors with virtio and qcow2 backing file (#524734) - Fix ksm initscript errors on kernel missing ksm (#527653) - Add missing Requires(post): getent, useradd, groupadd (#527087) tag request: https://fedorahosted.org/rel-eng/ticket/2429 tagged now for F12 GA |