%config files and upgrade to F11 - consider noreplace

Ville Skyttä ville.skytta at iki.fi
Wed Feb 25 21:27:15 UTC 2009


On Wednesday 25 February 2009, Gianluca Sforna wrote:
> On Wed, Feb 25, 2009 at 7:23 PM, Adam Williamson <awilliam at redhat.com> 
wrote:
> > Isn't the bug more likely in gconf? If these are data they should not be
> > in /etc but /usr (according to FHS).
>
> Which is also the opinion of rpmlint developers upstream (my report
> closed as wontfix)
>
> So if we want to silence it the only way left looks like patching
> rpmlint code downstream. See also:
> https://bugzilla.redhat.com/show_bug.cgi?id=235487

No need to patch nor even update to rpmlint, all it takes is one addFilter() 
line in some of rpmlint's config files, for example /etc/rpmlint/my.config or 
~/.rpmlintrc

addFilter("non-conffile-in-etc /etc/gconf/schemas")

If FPC finds it necessary, this can be included in future default rpmlint 
configs in Fedora.  Just let me know (preferably in the above Bugzilla 
entry).

But as explained in the upstream rpmlint ticket, this is only half of what's 
apparently desired - it will mute the warning, but won't issue another if a 
schema file *is* marked as %config while being in /etc.  IMO it'd be better 
to just move the schemas to a more FHS compliant location than to start 
adding any workarounds in rpmlint.




More information about the fedora-devel-list mailing list