The FHS /usr song (was: Core packages are using %config for files being installed under /usr)

Ralf Corsepius rc040203 at freenet.de
Mon Mar 5 15:47:55 UTC 2007


On Mon, 2007-03-05 at 09:18 -0500, Jesse Keating wrote:
> On Monday 05 March 2007 06:39:09 Ralf Corsepius wrote:
> > 1. When will you finally understand that rpm's %config has nothing to do
> > with configurating a system. %config only specifies rpm's behavior upon
> > handling of backups upon install.
> 
> A side effect of marking something %config is that an rpm -qc (show me config 
> files) will spit out that file and lead the user to believe he can edit said 
> file to do further configuration.
Yes, ... and it's good this way.

>   Perhaps you're trying to use the %config 
> hammer because there is no other way of doing file preservation without 
> marking it as a configuration file.
Yes, ... because there is no need to do so in "another way".

%config/%config(noreplace) exactly do what they are supposed to do:
create backups upon update/upgrade, because the packager has
acknowledged a user/admin might have customized a file.

Ralf





More information about the Fedora-maintainers mailing list