Project

Profile

Help

Issue #402

The RPM project's pulp-dev.py doesn't set correct permissions on /var/lib/pulp/published/yum

Added by rbarlow almost 7 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Low
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
Master
Platform Release:
2.6.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

$ ls -lah /var/lib/pulp/published/
total 20K
drwxrwsr-t. 5 apache apache 4.0K Mar 5 17:24 .
drwxrwsr-t. 8 apache apache 4.0K Jan 10 17:42 ..
drwxr-sr-x. 2 apache apache 4.0K Aug 5 2013 http
drwxr-sr-x. 3 apache apache 4.0K Sep 2 2013 https
drwxr-sr-x. 4 root apache 4.0K Mar 5 17:24 yum

The yum directory should be apache owned. Because it is not, publishing fails. The workaround is to chown it to apache.

P.S. Normally, I would just fix something like this instead of filing a bug, but I've got too many TODOs right now and I don't want to forget anything :)

+ This bug was cloned from Bugzilla Bug #1073155 +

History

#1 Updated by cduryee almost 7 years ago

https://github.com/pulp/pulp_rpm/pull/592

QE note: this is a patch for a developer setup script, I don't think there is anything for QE to verify in this bz.

+ This comment was cloned from Bugzilla #1073155 comment 1 +

#2 Updated by cduryee almost 7 years ago

fixed in 2.5-dev and master

+ This comment was cloned from Bugzilla #1073155 comment 2 +

#3 Updated by cduryee almost 7 years ago

fixed in pulp 2.6.0-0.2.beta

+ This comment was cloned from Bugzilla #1073155 comment 3 +

#4 Updated by igulina@redhat.com almost 7 years ago

rpm -qa | grep pulp-server

pulp-server-2.6.0-0.2.beta.el6.noarch

ls -lah /var/lib/pulp/published/

total 16K
drwxr-xr-x. 4 apache apache 4.0K Dec 24 08:52 .
drwxr-xr-x. 7 apache apache 4.0K Dec 25 20:44 ..
drwxr-xr-x. 4 apache apache 4.0K Dec 24 08:52 puppet
drwxr-xr-x. 4 apache apache 4.0K Dec 24 08:52 yum

+ This comment was cloned from Bugzilla #1073155 comment 4 +

#5 Updated by igulina@redhat.com almost 7 years ago

pulp-admin rpm repo create --repo-id genka2

Successfully created repository [genka2]

pulp-admin rpm repo publish run --repo-id genka2

--------------------------------------------------------------------
Publishing Repository [genka2]
--------------------------------------------------------------------

This command may be exited via ctrl+c without affecting the request.

Initializing repo metadata
[-]
... completed
....

Task Succeeded

ls -lah /var/lib/pulp/published/yum/master/yum_distributor/

total 16K
drwxr-xr-x. 4 apache apache 4.0K Dec 25 20:54 .
drwxr-xr-x. 3 apache apache 4.0K Dec 25 20:53 ..
drwxr-xr-x. 3 apache apache 4.0K Dec 25 20:53 genka
drwxr-xr-x. 3 apache apache 4.0K Dec 25 20:54 genka2

+ This comment was cloned from Bugzilla #1073155 comment 5 +

#6 Updated by bmbouter over 6 years ago

  • Severity changed from Low to 1. Low

#7 Updated by rbarlow over 6 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#9 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF