Actions
Issue #7532
closedpulpcore-selinux fails to build due to unknown type pulpcore_etc_t
Status:
CLOSED - CURRENTRELEASE
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:
SELinux
Sprint:
Sprint 82
Quarter:
Description
This appears to be a partially/incorrectly resolved comment during merge: https://github.com/pulp/pulpcore-selinux/pull/15#discussion_r489566771
The .fc file doesn't specify any Pulp 3 "pulpcore" pulpcore_etc_t files, either individually or as a folder.
The .te file doesn't declare pulpcore_etc_t.
But the .te file tries to make a policy based on the type.
Actions
Problem: pulpcore-selinux fails to build due to unknown type pulpcore_etc_t
Solution: Label the /etc/pulp/ files and subfolders individually (And declare the type to fix the failure.)
fixes: #7532