Re: Lots of schema related warnings on yum update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/25/2012 12:50 PM, Ankur Sinha wrote:
> Hello,
> 
> 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 [1]
at package install / uninstall time, so this also shows up during yum
updates.

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:
https://admin.fedoraproject.org/updates/FEDORA-2012-6591

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


[1] http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GSettings_Schema

-- 
Kalev
-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test



[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux