[Bug 628055] Re: Instances don't start correctly: Security Labeling error running aa_change_profile()
Jamie Strandboge
jamie at ubuntu.com
Wed Sep 22 21:46:09 BST 2010
Turns out this was a missing #include in virt-aa-helper.c. In previous
releases we did not need '#include <sys/stat.h>', but in libvirt 0.8.3
(presumably because of its embedded gnulib, which has functions for
stat()) and the toolchain in maverick, we do.
Specifically, virt-aa-helper.c has in its buildlog:
security/virt-aa-helper.c: In function 'valid_path':
security/virt-aa-helper.c:541: warning: implicit declaration of function 'stat' [-Wimplicit-function-declaration]
security/virt-aa-helper.c:541: warning: nested extern declaration of 'stat' [-Wnested-externs]
Adding '#include <sys/stat.h>' to virt-aa-helper.c fixes both the
warning and the problem. I will be uploading a new libvirt with this fix
shortly.
** Changed in: libvirt (Ubuntu Maverick)
Status: Confirmed => In Progress
--
Instances don't start correctly: Security Labeling error running aa_change_profile()
https://bugs.launchpad.net/bugs/628055
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