Actions
Task #4948
closedIssue #4950: [epic] pulp3 on pulp2
pulp3 on pulp2: /var/lib/pulp/published permissions prevents 'metadata' directory from being created.
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
2.20.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
Sprint 54
Quarter:
Description
/var/lib/pulp/published is owned by apache, so 'metadata' can't be created.
It is owned by apache so the pulp user cannot create it.
For Pulp2:
- create pulp
group
- add user apache
to it
- change permissions for /var/lib/pulp/ recursively
Those changes should happen at rpm install time.
Related issues
Actions
Problem: pulp 3 can't be installed along with pulp 2
Solution: add group 'pulp' and add user 'apache' to it
This patch adds a group 'pulp' before installing the pulp-server rpm. All directories are created with ownership by user 'apache' group 'pulp'. On upgrades, the ownership of /var/lib/pulp is recursively updated to apache:pulp.
re: #4948 https://pulp.plan.io/issues/4948
re: #4949 https://pulp.plan.io/issues/4949