[Yum-devel] Running yum-complete-transaction fails for some packages.

Seth Vidal skvidal at fedoraproject.org
Wed Mar 11 18:20:10 UTC 2009



On Wed, 11 Mar 2009, Creative Innovative wrote:

> All,
>  
> I found the reason for the failures listed in my previous email below, when I used yum-complete-transaction.
>  
> yum-complete-transaction LACKS SELINUX PRIVELEGES.
>  
> After I added selinux privelge, which was easy,
> chcon --reference=/usr/bin/yum /usr/sbin/yum-complete-transaction
> Note::The above command, applies the same SELINUX context that /usr/bin/yum already has, to
> /usr/sbin/yum-complete-transaction.
>  


hmmmmmmmmmmmmmmmmmmmmmmm - this is a good point.

Thank you.
-sv


> After that, I am no longer seeing the failures.
>  
> Is there any plan to open a bug against selinux, to label and update file context for
> /usr/sbin/yum-complete-transaction, just like what selinux is currently doing for YUM, RPM and several other
> executables/scripts.

I'll open the bug.

-sv


More information about the Yum-devel mailing list