[Bug 460271] [NEW] virt-aa-helper fails when serial or console type is 'tcp'

Launchpad Bug Tracker 460271 at bugs.launchpad.net
Mon Oct 26 14:04:22 GMT 2009


You have been subscribed to a public bug:

When serial and console devices are defined as follows:
...
    <serial type='tcp'>
      <source mode='bind' host='127.0.0.1' service='1234'/>
      <protocol type='telnet'/>
      <target port='0'/>
    </serial>
    <console type='tcp'>
      <source mode='bind' host='127.0.0.1' service='1234'/>
      <protocol type='telnet'/>
      <target port='0'/>
    </console>
...
virt-aa-helper will incorrectly add "127.0.0.1" to the included files list, which causes apparmor_parser to fail and that causes the guest to not start unless apparmor is disabled for libvirtd. Simple check if the serial or console type is 'tcp' in virt-aa-helper's get_files() function should fix it.

This broke in 0.7.0-1ubuntu8 (which is when virt-aa-helper was changed
to use the XML for the file paths) and is still broken as of
0.7.0-1ubuntu13.

** Affects: libvirt (Ubuntu)
     Importance: Undecided
     Assignee: Jamie Strandboge (jdstrand)
         Status: New

-- 
virt-aa-helper fails when serial or console type is 'tcp'
https://bugs.launchpad.net/bugs/460271
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu.



More information about the Ubuntu-server-bugs mailing list