Maintenance: Planio will be observing a scheduled maintenance window this Tuesday, November 5, 2024 from 03:00 UTC until 06:30 UTC to perform urgent network maintenance in our primary data center. Your Planio account will be unavailable during this maintenance window.
Actions
Task #4949
closedIssue #4950: [epic] pulp3 on pulp2
pulp3 on pulp2: permissions on /var/lib/pulp prevent /var/lib/pulp/artifact 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
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