[Rpm-maint] [PATCH 07/19] Add rpmpols struct plus some helper functions

James Antill james at fedoraproject.org
Fri Feb 5 17:26:12 UTC 2010

On Tue, 2010-02-02 at 15:25 -0500, Steve Lawrence wrote:

> rpmpolsSaveStave
>  Save the policies changes to the rpm database. Due to security reasons,
>  policy is not removed when the package that installed it is removed. Because
>  of this, we need a way to keep track of which policies have been installed
>  and their properties. To accomplish this, we create pseudo packages
>  (akin to gpg-pubkey) containing the necessary information and update the
>  rpm database.

 Yeh, this is a really bad idea IMO. Esp. given how/when you are
creating the packages.
 If you are going to use rpm headers, use them and make them go away on
package removal ... if you want packages specific for policy, create
those at build time (and maybe use requires to help them not go away).

James Antill - james at fedoraproject.org

More information about the Rpm-maint mailing list