Project

Profile

Help

Issue #1572

closed

Yum install python crane raising SE Linux errors

Added by paji@redhat.com about 8 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Crane:
master
Platform Release:
Target Release - Crane:
2.0.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Check the errors in the install command there..

$ cat /etc/redhat-release 
CentOS Linux release 7.1.1503 (Core)
$ getenforce
Disabled
[vagrant@katello-pulp-nightly ~]$ sudo yum install python-crane
Loaded plugins: fastestmirror, priorities, pulp-profile-update
......
.......
Loading mirror speeds from cached hostfile
 * base: mirrors.lga7.us.voxel.net
 * epel: mirror.symnds.com
 * extras: mirror.symnds.com
 * updates: repos.mia.quadranet.com
36 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package python-crane.noarch 0:2.0.0-0.4.beta.git.1.c0fd503.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================================================
 Package                                  Arch                               Version                                                       Repository                                    Size
==============================================================================================================================================================================================
Installing:
 python-crane                             noarch                             2.0.0-0.4.beta.git.1.c0fd503.el7                              pulp-2.8-nightly                             1.3 M

Transaction Summary
==============================================================================================================================================================================================
Install  1 Package

Total download size: 1.3 M
Installed size: 4.0 M
Is this ok [y/d/N]: y
Downloading packages:
python-crane-2.0.0-0.4.beta.git.1.c0fd503.el7.noarch.rpm                                                                                                               | 1.3 MB  00:00:01     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : python-crane-2.0.0-0.4.beta.git.1.c0fd503.el7.noarch                                                                                                                       1/1 
SELinux:  Could not downgrade policy file /etc/selinux/targeted/policy/policy.29, searching for an older version.
SELinux:  Could not open policy file <= /etc/selinux/targeted/policy/policy.29:  No such file or directory
/sbin/load_policy:  Can't load policy:  No such file or directory
libsemanage.semanage_reload_policy: load_policy returned error code 2.
SELinux:  Could not downgrade policy file /etc/selinux/targeted/policy/policy.29, searching for an older version.
SELinux:  Could not open policy file <= /etc/selinux/targeted/policy/policy.29:  No such file or directory
/sbin/load_policy:  Can't load policy:  No such file or directory
libsemanage.semanage_reload_policy: load_policy returned error code 2.
ValueError: Could not commit semanage transaction
  Verifying  : python-crane-2.0.0-0.4.beta.git.1.c0fd503.el7.noarch                                                                                                                       1/1 

Installed:
  python-crane.noarch 0:2.0.0-0.4.beta.git.1.c0fd503.el7                                                                                                                                      

Complete!

Related issues

Related to Crane - Story #1166: As a user, I can install a crane-selinux rpmCLOSED - WONTFIX

Actions

Also available in: Atom PDF