Public bug reported:

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
         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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to