Core packages are using %config for files being installed under /usr

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Thu Mar 1 15:20:19 UTC 2007


Axel.Thimm at ATrpms.net (Axel Thimm) writes:

>> >> >%config(noreplace) %verify(not md5 size mtime) %{ttfontdir}/fonts.alias
>> >> ...
>> >> IMO, the fonts.alias example is a fair use of %config that's ok in my book.
>> >
>> > But we do want /usr to be "stateless".
>> 
>> afaik, 'fonts.alias' has nothing todo with stateless or non-stateless. This
>> file won't be touched by any system program (in opposite to fonts.dir and
>> fonts.scale) but might be used to configure preferences for certain fonts
>> (e.g. 'fixed' or 'cursor').
>
> Which is really hard to do on a real-only filesystem.

The '%verify(not md5 size mtime)' magic indicates, that the original
intentation was not to protect manual changes, but to handle
modifications by 'mkfontdir' runs (which would be a stateless vs
non-stateless issue).  But since 'fonts.aliases' are not touched by the
system, it is either an ordinary configuration file (at a bad location)
or the %config is simply a mistake.


Enrico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 480 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-maintainers/attachments/20070301/43388ae9/attachment.sig>


More information about the Fedora-maintainers mailing list