Bug 747661
Summary: | Content Certificate permission errors in an AWS guest | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Mike McCune <mmccune> |
Component: | rel-eng | Assignee: | John Matthews <jmatthew> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.0.0 | CC: | lzap, skarmark |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 760683 | ||
Bug Blocks: |
Description
Mike McCune
2011-10-20 16:37:04 UTC
Not candlepin proper. Katello is writing to this locatoin so that grinder can use the certs to download content. Moving this to the appropriate project, and changing the title to reflect this. So what is the task for this one? To set this during configuration? Okay this is Pulp issue most likely, this is set during pulp installation and as the system is not mounted with ACL, it fails. Looks like an issue in the Pulp RPM. There must be some constriant. We are planning to make a change to the location of content certs Pulp uses, this will help clean up the SELinux policy. As part of that we will remove the ACL dependency and use chown/chmod to allow pulp to read/write to this directory. Relates to bz 760683 We removed the setfacl and changed it to apache owning those files. Commit is here: http://git.fedorahosted.org/git/?p=pulp.git;a=commitdiff;h=3f7636356e43815272714e085037cd22b75a0f7f QE: Use getfacl -a /etc/pki/pulp/content and verify that no special rules are in place Note that /etc/pki/content has changed to /etc/pki/pulp/content build: 0.256 verified that the cert locations have been moved [root@katello-test ~]# rpm -q pulp pulp-0.0.256-1.el6.noarch [root@katello-test ~]# [root@katello-test ~]# ls -l /etc/pki/pulp/content/ total 12 drwxr-xr-x. 2 apache apache 4096 Jan 6 14:56 bad_url drwxr-xr-x. 2 apache apache 4096 Jan 6 14:57 pulp -rw-r--r--. 1 apache apache 0 Jan 5 13:07 pulp-protected-repos drwxr-xr-x. 2 apache apache 4096 Jan 5 13:09 rhel6_x86_64_preserve [root@katello-test ~]# [root@katello-test ~]# getfacl -a /etc/pki/pulp/conten/ getfacl: /etc/pki/pulp/conten/: No such file or directory [root@katello-test ~]# getfacl -a /etc/pki/pulp/content/ getfacl: Removing leading '/' from absolute path names # file: etc/pki/pulp/content/ # owner: apache # group: apache user::rwx group::r-x other::r-x Pulp v1.0 is released Closed Current Release. Pulp v1.0 is released. |