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

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

 



Axel.Thimm@xxxxxxxxxx (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

Attachment: pgpdI57QEcKww.pgp
Description: PGP signature

--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers
--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux