[Mageia-dev] Proposal: Updating released versions (long post)

Michael Scherer misc at zarb.org
Wed Oct 13 19:08:54 CEST 2010


Le samedi 09 octobre 2010 à 11:10 +0200, Renaud MICHEL a écrit :
> On samedi 09 octobre 2010 at 05:45, andré wrote :
> > Note that configuration files that have been changed from the 
> > installation default are often already saved.  (Generally ".old" is 
> > appended to the configuration file name, sometimes ".new" to the new 
> > configuration file.)
> 
> But here you are only talking about system-wide configuration files, which 
> are known of rpm as they are part of the package and marked as config files.
> But what about user specific configuration files?
> For the easy kind, where a program will have a single configuration file (or 
> dedicated directory), a pre-inst script could find it in the home of each 
> users and backup them.

touching /home is forbidden in %pre and %post per policy.

1) you cannot be sure that every user are available ( ie, using
ldap/nis )

2) you cannot be sure that someone is not already using the
directory/config file ( ie, shared home by nfs, or multiuser system )

3) you cannot be sure that the home is mounted ( auto mounter based on
login, etc )


-- 
Michael Scherer



More information about the Mageia-dev mailing list