SELinux labels for files in package

Lubos Kardos lkardos at
Tue Mar 1 15:28:37 UTC 2016

This is fixed since rpm-4.10.0. For rpm-4.8.0 the solution could be relabeling 
files in postran scriptlet of package containing selinux policy. 


----- Original Message -----

From: "Evgeniy Gurko" <murkenstein at> 
To: rpm-list at 
Sent: Wednesday, February 24, 2016 3:12:18 PM 
Subject: SELinux labels for files in package 

Hello everyone, 

I have a problem with RPM 4.8.0 and SELinux labels. 
There is two packages to install, one of them contains SELinux policy for another one, particularly, rules for it's files labeling. And when I install them separately, there is no problem with labels. But when I try to install both in a single transaction (e.g. by running yum), these files get created unlabeled. Is there a way to solve this issue? 

Best regards, 

Rpm-list mailing list 
Rpm-list at 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Rpm-list mailing list