Task #4949
closedIssue #4950: [epic] pulp3 on pulp2
pulp3 on pulp2: permissions on /var/lib/pulp prevent /var/lib/pulp/artifact from being created
0%
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
Updated by jsherril@redhat.com over 5 years ago
- Blocks Issue #4950: [epic] pulp3 on pulp2 added
Updated by jsherril@redhat.com over 5 years ago
- Blocks deleted (Issue #4950: [epic] pulp3 on pulp2)
Updated by ttereshc over 5 years ago
- Tracker changed from Issue to Task
- Description updated (diff)
- % Done set to 0
- Tags Pulp 2 added
- Tags deleted (
Pulp 3 installer)
Updated by ttereshc over 5 years ago
- Related to Task #4948: pulp3 on pulp2: /var/lib/pulp/published permissions prevents 'metadata' directory from being created. added
Updated by dkliban@redhat.com over 5 years ago
- Groomed changed from No to Yes
- Sprint Candidate changed from No to Yes
- Sprint set to Sprint 54
Added by dkliban@redhat.com over 5 years ago
Added by dkliban@redhat.com over 5 years ago
Revision 03bdde38 | View on GitHub
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.
Added by dkliban@redhat.com over 5 years ago
Revision 1ed19568 | View on GitHub
Problem: chown command is run for all upgrades
Solution: only run chown if ownership permissions are not apache:pulp
re: #4948 https://pulp.plan.io/issues/4948 re: #4949 https://pulp.plan.io/issues/4949
Added by dkliban@redhat.com over 5 years ago
Revision 1ed19568 | View on GitHub
Problem: chown command is run for all upgrades
Solution: only run chown if ownership permissions are not apache:pulp
re: #4948 https://pulp.plan.io/issues/4948 re: #4949 https://pulp.plan.io/issues/4949
Updated by dkliban@redhat.com over 5 years ago
- Status changed from NEW to MODIFIED
- Assignee set to dkliban@redhat.com
Updated by ttereshc over 5 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
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