Lots of schema related warnings on yum update
kalevlember at gmail.com
Wed Apr 25 12:44:30 UTC 2012
On 04/25/2012 12:50 PM, Ankur Sinha wrote:
> I get these schema warnings on updating my F17 system:
>> warning: Schema 'org.freedesktop.Telepathy.Logger' has path '/apps/telepathy-logger/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
> How should these be handled? Do we file bugs? Do we ignore these?
There was a late change in glib-compile-schemas, introducing these
warnings. A lot of packages run glib-compile-schemas in rpm scripts 
at package install / uninstall time, so this also shows up during yum
The fix would be to redirect glib-compile-schemas output to /dev/null in
each of the packages that run glib-compile-schemas.
I've done a number of packages here:
Also see https://bugzilla.redhat.com/show_bug.cgi?id=814053
If you find any other packages with noisy %post scriptlets, beyond what
I've already fixed in that update, file bugs against the packages.
I used the following one-liner to identify packages needing fixing. If
you apply the update above (might still see some warnings during the
update from old packages uninstallation) and then run this, you might
find some new ones that need fixing:
rpm -qa | while read pkg ; do if rpm -q --scripts $pkg | grep glib-compile-schemas | grep -v '/dev/null' > /dev/null ; then echo "$pkg doesn't redirect glib-compile-schemas output" ; fi ; done
More information about the test