Project

Profile

Help

Task #4948

Issue #4950: [epic] pulp3 on pulp2

pulp3 on pulp2: /var/lib/pulp/published permissions prevents 'metadata' directory from being created.

Added by jsherril@redhat.com 7 months ago. Updated 6 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Platform Release:
2.20.0
Blocks Release:
Backwards Incompatible:
No
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 54

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

Related to Pulp - Task #4949: pulp3 on pulp2: permissions on /var/lib/pulp prevent /var/lib/pulp/artifact from being created CLOSED - CURRENTRELEASE Actions

Associated revisions

Revision 03bdde38 View on GitHub
Added by dkliban@redhat.com 7 months ago

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

Revision 1ed19568 View on GitHub
Added by dkliban@redhat.com 7 months ago

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

History

#1 Updated by jsherril@redhat.com 7 months ago

#2 Updated by jsherril@redhat.com 7 months ago

#3 Updated by jsherril@redhat.com 7 months ago

  • Parent task set to #4950

#4 Updated by amacdona@redhat.com 7 months ago

  • Triaged changed from No to Yes

#5 Updated by ttereshc 7 months ago

  • Tracker changed from Issue to Task
  • Description updated (diff)
  • % Done set to 0
  • Tags Pulp 2 added
  • Tags deleted (Pulp 3 installer)

#6 Updated by ttereshc 7 months ago

  • Related to Task #4949: pulp3 on pulp2: permissions on /var/lib/pulp prevent /var/lib/pulp/artifact from being created added

#7 Updated by dkliban@redhat.com 7 months ago

  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes
  • Sprint set to Sprint 54

#8 Updated by ttereshc 7 months ago

  • Platform Release set to 2.20.0

#10 Updated by dkliban@redhat.com 7 months ago

  • Assignee set to dkliban@redhat.com

#11 Updated by ttereshc 7 months ago

  • Sprint/Milestone set to 2.20.0

#12 Updated by ttereshc 7 months ago

  • Status changed from MODIFIED to ON_QA

#13 Updated by ttereshc 6 months ago

  • Status changed from ON_QA to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF