Actions
Issue #1791
closedAfter upgrading from 2.7.1 to pulp 2.8.0 getting 403 error's on all my Pulp repo's.
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.8.0
Platform Release:
2.8.3
OS:
RHEL 7
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Sprint 1
Quarter:
Description
After I by accident upgraded our pulp-server from 2.7.1 to 2.8.0 all our repo's were giving 403 errors.
This was because 2.8.0 cannot handle the /var/lib/pulp(/.*) directory being a symlink.
This issue can be solved my creating a bind mount instead of a symlink.
mount --bind /path/to/your/pulp/(dir/) /var/lib/pulp/(dir/)
Actions
Modify the content web view to account for symbolic links
Users sometimes make /var/lib/pulp a symbolic link. This worked fine until we introduced the content wsgi application for lazy syncing. This modifies it to account for symbolic links when deciding whether or not it's safe to serve a file. It also documents the necesssary Apache changes that need to take place to make symbolic links work.
closes #1791