[fedora-virt] A couple of bugs in the new qemu 1.4.0 package in Rawhide

Cole Robinson crobinso at redhat.com
Wed Feb 20 14:11:03 UTC 2013


On 02/20/2013 06:20 AM, Daniel P. Berrange wrote:
> On Wed, Feb 20, 2013 at 11:18:02AM +0000, Richard W.M. Jones wrote:
>>
>> Firstly the %if condition here doesn't work for me.  For some reason
>> it still wants me to install perl-podlators (which doesn't exist on
>> Fedora 18):
>>
>>   %if 0%{?fedora} > 18
>>   BuildRequires: perl-podlators
>>   %endif
>>
>> I don't understand why it doesn't work, since on the same machine:
>>
>>   $ rpm --eval '%{?fedora}'
>>   18
>>
>> Is "018" treated as an impossible octal number?  My suggestion is to
>> just BR the programs directly.  The upstream code seems to need
>> pod2man, so:
>>
>>   BuildRequires: /usr/bin/pod2man
>>
>> Secondly, /usr/bin/qemu-kvm is now a script:
>>
>>   $ cat /usr/bin/qemu-kvm 
>>   #!/bin/sh
>>   
>>   exec /usr/bin/qemu-system-x86 -machine accel=kvm "$@"
> 
> I wouldn't be surprised if this causes SELinux problems, since the
> SELinux policy restricts what QEMU is allowed to exec.
> 

At least the fixed script doesn't seem to cause any issues for me on F18.

- Cole



More information about the virt mailing list