Project

General

Profile

Actions

Bug #7388

closed

Policy module isn't reloaded when upgrading RPM

Added by Dominic Cleal over 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Packaging
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The RPM postinstall scriptlet doesn't appear to reload the new module into the SELinux policy when the package is upgraded(!).

[root@localhost ~]# semodule -l | grep foreman
[root@localhost ~]# yum install foreman-selinux-1.6.0-0.1.RC1.el7 -y >/dev/null 2>&1; echo $?
0
[root@localhost ~]# semodule -l | grep foreman
foreman    1.6.0.0.1    
[root@localhost ~]# yum upgrade foreman-selinux-1.6.0-0.2.RC2.el7 -y >/dev/null 2>&1; echo $?
0
[root@localhost ~]# semodule -l | grep foreman
foreman    1.6.0.0.1    

This appears to have been introduced in #6780 for 1.6.


Related issues 1 (0 open1 closed)

Related to SELinux - Bug #6780: Unable to remove foreman-selinuxClosedLukas Zapletal07/25/2014Actions
Actions

Also available in: Atom PDF