[Openstack-security] [Bug 832507] Re: console.log grows indefinitely

Lei Li matrixs.zero at gmail.com
Mon Jan 19 14:15:17 UTC 2015


Re comment #44:

There has been a ring buffer char device named ringbuf available
upstream in QEMU as Anthony suggested in comment #23 like following:

qemu -chardev ringbuf,size=640k,id=foo -serial chardev:foo

And the QMP commands have already been exposed by QEMU like:

{ 'command': 'ringbuf-read', 'arguments': "arguments": { "device":
"foo", "size": 1000, "format": "utf8" } }


Actually it was just the implementation of this request: 

http://comments.gmane.org/gmane.comp.emulators.qemu/190843

-- 
You received this bug notification because you are a member of OpenStack
Security Group, which is subscribed to OpenStack.
https://bugs.launchpad.net/bugs/832507

Title:
  console.log grows indefinitely

Status in OpenStack Compute (Nova):
  Triaged
Status in OpenStack Security Advisories:
  Won't Fix
Status in libvirt package in Ubuntu:
  Fix Released
Status in nova package in Ubuntu:
  Fix Released
Status in qemu-kvm package in Ubuntu:
  Triaged

Bug description:
  KVM takes everything from stdout and prints it to console.log. This
  does not appear to have a size limit, so if a user (mistakenly or
  otherwise) sends a lot of data to stdout, the console.log file can
  fill the entire disk of the compute node quite quickly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/832507/+subscriptions




More information about the Openstack-security mailing list