Bug 790846

Summary: SELinux prevents client accessing repodata
Product: [Retired] Pulp Reporter: John Matthews <jmatthew>
Component: z_otherAssignee: John Matthews <jmatthew>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: jslagle, kbidarka, mkovacik, sghai
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 788565 Environment:
Last Closed: 2012-02-24 20:15:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 788565    
Bug Blocks:    

Comment 1 John Matthews 2012-02-15 14:30:51 UTC
Below commit should address the problems.

http://git.fedorahosted.org/git/?p=pulp.git;a=commitdiff;h=2b56c6bd8073cdca7014bebe1024552f0ffa68b4


Problems were:
1) We weren't running the relabel.sh script for CDS installs
2) We didn't specify a context for /var/lib/pulp-cds

This will be in Pulp 0.267

Comment 2 Jeff Ortel 2012-02-17 17:17:46 UTC
build: 0.267

Comment 3 Preethi Thomas 2012-02-21 19:12:48 UTC
[root@f16-cds ~]# getenforce
Enforcing
[root@preethi ~]# pulp-admin cds list
+------------------------------------------+
                CDS Instances
+------------------------------------------+

Name                	f16-cds.usersys.redhat.com
Hostname            	f16-cds.usersys.redhat.com
Description         	None                     
Cluster             	None                     
Sync Schedule       	None                     
Repos               	spacwalk                 
Last Sync           	2012-02-21 14:08:56-05:00
Status:
   Responding       	Yes                      
   Last Heartbeat   	2012-02-21 19:23:57.187105+00:00


[root@preethi-el6-pulp ~]# cat /etc/yum.repos.d/pulp.repo #
# Pulp Repositories
# Managed by Pulp client
#

[rhel6_2]
name = rhel6_2
enabled = 1
sslverify = 0
gpgcheck = 0
baseurl = https://preethi.usersys.redhat.com/pulp/repos/content/dist/rhel/rhui/server/6/6Server/x86_64/os

[spacwalk]
name = spacwalk
enabled = 1
sslverify = 0
gpgcheck = 0
mirrorlist = file:/etc/yum.repos.d/spacwalk.mirrorlist[root@preethi-el6-pulp ~]#

[root@preethi-el6-pulp ~]# yum repolist
Loaded plugins: product-id, pulp-profile-update, security, subscription-manager
Updating certificate-based repositories.
repo id             repo name                                             status
epel                Extra Packages for Enterprise Linux 6 - x86_64        6,987
pulp-v1-testing     Pulp v1 Testing                                          20
rhel6               Red Hat Enterprise Linux 6Server - x86_64 - RHEL6     3,529
rhel6_2             rhel6_2                                               6,862
spacwalk            spacwalk                                                 85
repolist: 17,483

Comment 4 Preethi Thomas 2012-02-24 20:15:49 UTC
Pulp v1.0 is released
Closed Current Release.

Comment 5 Preethi Thomas 2012-02-24 20:17:25 UTC
Pulp v1.0 is released.