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

Frank Griffin ftg at roadrunner.com
Wed Oct 13 23:34:40 CEST 2010


Michael Scherer wrote:
>
> 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 )
>   

Excellent point; I hadn't thought of that. 

One way of doing it might be, having identified packages that require
this sort of support, to wrap the executables with scripts that do this
the next time a user runs the software before the real executable is
launched.


More information about the Mageia-dev mailing list