diff --git a/irqbalance-1.0.6-no-virt-service.patch b/irqbalance-1.0.6-no-virt-service.patch new file mode 100644 index 0000000..551e151 --- /dev/null +++ b/irqbalance-1.0.6-no-virt-service.patch @@ -0,0 +1,11 @@ +diff -up irqbalance-1.0.6/misc/irqbalance.service.orig irqbalance-1.0.6/misc/irqbalance.service +--- irqbalance-1.0.6/misc/irqbalance.service.orig 2013-06-19 16:51:49.586832569 +0200 ++++ irqbalance-1.0.6/misc/irqbalance.service 2013-06-19 16:52:02.385833438 +0200 +@@ -1,6 +1,7 @@ + [Unit] + Description=irqbalance daemon + After=syslog.target ++ConditionVirtualization=no + + [Service] + EnvironmentFile=/etc/sysconfig/irqbalance diff --git a/irqbalance.spec b/irqbalance.spec index 635bb5a..7150f33 100644 --- a/irqbalance.spec +++ b/irqbalance.spec @@ -1,6 +1,6 @@ Name: irqbalance Version: 1.0.6 -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 2 Summary: IRQ balancing daemon @@ -25,6 +25,7 @@ Requires(preun):systemd-units ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 %{arm} Patch1: irqbalance-1.0.4-env-file-path.patch +Patch2: irqbalance-1.0.6-no-virt-service.patch %description irqbalance is a daemon that evenly distributes IRQ load across @@ -33,6 +34,7 @@ multiple CPUs for enhanced performance. %prep %setup -q %patch1 -p1 +%patch2 -p1 %build %{configure} @@ -70,6 +72,9 @@ fi /sbin/chkconfig --del irqbalance >/dev/null 2>&1 || : %changelog +* Wed Jun 19 2013 Petr Holasek - 2:1.0.6-2 +- Block irqbalance from running in virt environments (bz975474) + * Mon Jun 10 2013 Petr Holasek - 2:1.0.6-1 - Rebased to version 1.0.6