[Bug 672943] Re: virt-aa-helper crashes on random parts

2010-11-09 Thread Jamie Strandboge
wodny, Were you able to trigger this via normal virsh (or something else like virt-manager)? virt-aa-helper is not intended to be run by itself (except for debugging) and this particular invocation should not ever occur when using the userspace tools since 'create' and 'define' should generate the

[Bug 672943] Re: virt-aa-helper crashes on random parts

2010-11-09 Thread Jamie Strandboge
I can confirm this on lucid: $ /usr/lib/libvirt/virt-aa-helper -u libvirt-14412844-e1d1-4dfc-ad03-6adf185fa243 -c --dryrun < /tmp/xml As mentioned, this is due to random_r crashing. In virt-aa-helper on Lucid, this is triggered by the call to virDomainDefParseXML(), which calls virUUIDGenerate(),

[Bug 672943] Re: virt-aa-helper crashes on random parts

2010-11-09 Thread Jamie Strandboge
This is not a problem on Maverick and later: $ cat /tmp/xml | /usr/lib/libvirt/virt-aa-helper -u libvirt-14412844-e1d1-4dfc-ad03-6adf185fa243 -c --dryrun virt-aa-helper: error: could not parse XML virt-aa-helper: error: could not get VM definition ** Also affects: libvirt (Ubuntu Lucid) Import

[Bug 672943] Re: virt-aa-helper crashes on random parts

2010-11-09 Thread wodny
** Attachment added: "UUID/MAC generation" https://bugs.launchpad.net/bugs/672943/+attachment/1727718/+files/minimal.xml -- virt-aa-helper crashes on random parts https://bugs.launchpad.net/bugs/672943 You received this bug notification because you are a member of Ubuntu Bugs, which is subscr