[Rpm-maint] [PATCH 19/19] Add callback notification for policy and relabeling

Steve Lawrence slawrence at tresys.com
Fri Feb 12 20:43:30 UTC 2010

On Fri, 2010-02-05 at 12:56 -0500, James Antill wrote:
> On Tue, 2010-02-02 at 15:25 -0500, Steve Lawrence wrote:
> > Because policy installation and file system relabeling can take a while to
> > complete, it can look like rpm is hanging. This patch adds callback types
> > for policy installation and filesystem relabel start/stop. This also updates
> > rpm to display a notification for the new callbacks.
>  Have you tested this with consumers (Eg. yum)?

We've only briefly tested it with yum. Policy and applications are
installed correctly, but no progress is displayed during policy
installation/relabeling since yum doesn't know about the new

> Is it possible to get more data than 0% and 100% complete?

It isn't possible to get anything meaningful between 0% and 100%
currently because the selinux tools/apis don't provide this information.

More information about the Rpm-maint mailing list