Bug 2070588

Summary: [SPEC FILE] insights-client /var/ directories have wrong SELinux context
Product: Red Hat Enterprise Linux 8 Reporter: Gaël Chamoulaud <gchamoul>
Component: insights-clientAssignee: Gaël Chamoulaud <gchamoul>
Status: CLOSED DUPLICATE QA Contact: Priscila Gutierres <prgutier>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 8.7CC: cmarinea, fjansen, link, pakotvan, stomsa
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: insights-client-3.1.7-7.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2070584
: 2070595 (view as bug list) Environment:
Last Closed: 2022-04-11 12:07:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2062136, 2070584    
Bug Blocks: 2070595    

Description Gaël Chamoulaud 2022-03-31 13:34:53 UTC
+++ This bug was initially created as a clone of Bug #2070584 +++

Description of problem:

TLDR; https://bugzilla.redhat.com/show_bug.cgi?id=2062136

insights-client rpm spec file doesn't own the several insights-client directories created in /var/[lib|log|cache] during the data collection process.

The goal is this BZ is to add these directories as parts of the rpm in the %file  directive. They will be correctly labeled immediately after the package installation.

Comment 6 Gaël Chamoulaud 2022-04-11 12:07:34 UTC

*** This bug has been marked as a duplicate of bug 2073020 ***