[Libvirt-cim] [PATCH] libvirt-cim.spec.in: Uninstall open-pegasus-specific providers

Ján Tomko jtomko at redhat.com
Thu Aug 22 08:39:10 UTC 2013


On 08/22/2013 02:14 AM, John Ferlan wrote:
> On 08/21/2013 10:19 AM, Ján Tomko wrote:
>> +# Remove open-pegasus-specific providers installed in sfcb repository
>> +# by older libvirt-cim packages
>> +%{_datadir}/%{name}/provider-register.sh -d -t sfcb \
>> +    -n root/PG_InterOp \
>> +    -r %{PGINTEROP_REG} -m %{PGINTEROP_MOF} >/dev/null 2>&1 || true
>> +
>> +
> 
> I'm no expert in this matter, but I wonder if those would ever have been
> installed.  Does anyone have a RHEL6 environment with sfcb only where
> pginterop was installed?
> 

Yes, if you install libvirt-cim-0.6.1-4.el6 (which is the version in RHEL6.4),
PG_InterOp would get installed as well.

Since upstream commit 07adabc, the providers registered on installation are
only unregistered on uninstall, not update.

Commit 19ffef8 only fixed this for uninstall -> install, where PG_InterOp gets
unregistered by the old package (without this commit) and the new package
(with the commit) doesn't register it.

On upgrade, the old package leaves it behind.

Jan




More information about the Libvirt-cim mailing list