Project

Profile

Help

Issue #5220

closed

pulp-server RPM recursively changes ownership of /var/lib/pulp/ during upgrade

Added by dkliban@redhat.com over 4 years ago. Updated about 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.20.0
Platform Release:
2.20.1
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 57
Quarter:

Description

In a large Pulp 2.y installation, the upgrade of pulp-server RPM to 2.20.0 can take a long time. This is due to a spec file change that was intended to make it possible to upgrade from Pulp 2 to Pulp 3 without having to manually change permissions of the filesystem. This is no longer a concern and should never have been a concern because the 'other' users can already read that directory.


Related issues

Has duplicate Pulp - Issue #5329: Pulp 2.20 upgrade chown -R on /var/lib/pulp failed due to NFS mountpoint with Netapp snapshotCLOSED - DUPLICATEActions
Actions #1

Updated by bmbouter over 4 years ago

I think for the z relase a simple revert would be the best because we don't want to significantly adjust the permissions for the other group in the z stream.

Added by dkliban@redhat.com over 4 years ago

Revision e5cc3ac8 | View on GitHub

Problem: RPM upgrade recursively changes ownership of /var/lib/pulp/

Solution: stop calling chown during upgrade

fixes: #5220 https://pulp.plan.io/issues/5220

Actions #2

Updated by dkliban@redhat.com over 4 years ago

  • Status changed from NEW to POST
  • Sprint set to Sprint 57
Actions #3

Updated by dkliban@redhat.com over 4 years ago

The PR linked above contains two commits. One of them is for this issue.

Actions #4

Updated by amacdona@redhat.com over 4 years ago

  • Triaged changed from No to Yes
Actions #5

Updated by dkliban@redhat.com over 4 years ago

  • Status changed from POST to MODIFIED
Actions #6

Updated by ttereshc over 4 years ago

  • Tags Pulp 2 added
Actions #7

Updated by dalley over 4 years ago

  • Assignee set to dkliban@redhat.com
  • Platform Release set to 2.21.0
Actions #8

Updated by dkliban@redhat.com over 4 years ago

  • Has duplicate Issue #5329: Pulp 2.20 upgrade chown -R on /var/lib/pulp failed due to NFS mountpoint with Netapp snapshot added
Actions #9

Updated by dkliban@redhat.com over 4 years ago

  • Platform Release changed from 2.21.0 to 2.20.1

Added by dkliban@redhat.com over 4 years ago

Revision 4f274369 | View on GitHub

Problem: RPM upgrade recursively changes ownership of /var/lib/pulp/

Solution: stop calling chown during upgrade

fixes: #5220 https://pulp.plan.io/issues/5220 (cherry picked from commit e5cc3ac82c9e8d29ce9062ce7177aaa592f5b170)

Added by dkliban@redhat.com over 4 years ago

Revision 4f274369 | View on GitHub

Problem: RPM upgrade recursively changes ownership of /var/lib/pulp/

Solution: stop calling chown during upgrade

fixes: #5220 https://pulp.plan.io/issues/5220 (cherry picked from commit e5cc3ac82c9e8d29ce9062ce7177aaa592f5b170)

Actions #10

Updated by dkliban@redhat.com over 4 years ago

  • Status changed from MODIFIED to 5
Actions #11

Updated by dkliban@redhat.com over 4 years ago

  • Status changed from 5 to MODIFIED
Actions #12

Updated by ipanova@redhat.com about 4 years ago

  • Description updated (diff)
  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF