Project

Profile

Help

Issue #1560

closed

Docs missing on selinux requirements to import from file:/// path

Added by bmbouter almost 9 years ago. Updated over 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation, Easy Fix, Pulp 2, SELinux
Sprint:
Quarter:

Description

A user recently tried to import content from an area of the file system outside of /tmp and /var/lib/pulp/. Because of its location in the filesystem, it received an selinux label that Pulp workers were denied read access from.

I propose a docs note be added indicating that the httpd_sys_r_content_t or pulp_tmp_t would be good choices of selinux labels. Note: if you choose httpd_sys_r_content_t then the webserver can also read the files so that may or may not be good. I propose we present both options to the user.

We should not document how to apply the label but which label is suggested to use.


Related issues

Has duplicate Pulp - Issue #2061: [Errno 13] Permission denied when using symlink to a different partitionCLOSED - DUPLICATEActions
Actions #1

Updated by jortel@redhat.com almost 9 years ago

  • Triaged changed from No to Yes
Actions #2

Updated by bmbouter over 8 years ago

  • Parent issue set to #1826
Actions #3

Updated by bmbouter over 8 years ago

  • Tags SELinux added
Actions #4

Updated by bmbouter over 8 years ago

  • Parent issue deleted (#1826)
Actions #5

Updated by bmbouter over 8 years ago

  • Has duplicate Issue #2061: [Errno 13] Permission denied when using symlink to a different partition added
Actions #6

Updated by daviddavis almost 6 years ago

Just wanted to bump this issue since a user ran into this problem and I wanted to point him to some docs about how to configure selinux to allow syncs from local file repos.

Actions #7

Updated by bmbouter over 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #8

Updated by bmbouter over 5 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

Actions #9

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF