Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1623418

Summary: [insights-client] Found extra files not controlled by rpm package
Product: Red Hat Enterprise Linux 6 Reporter: Chen Shi <cheshi>
Component: insights-clientAssignee: jcrafts
Status: CLOSED WONTFIX QA Contact: Jeff Needle <jneedle>
Severity: low Docs Contact:
Priority: medium    
Version: 6.10CC: cheshi, jcrafts, linl, toneata, xiaoxwan
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1713254 (view as bug list) Environment:
Last Closed: 2019-11-20 13:52:15 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:    
Bug Blocks: 1713254    

Description Chen Shi 2018-08-29 10:13:25 UTC
Description of problem:
Found extra files not controlled by rpm:
/etc/redhat-access-insights/.lastupload
/etc/redhat-access-insights/machine-id
/etc/redhat-access-insights/redhat-access-insights.conf
/etc/redhat-access-insights/redhat-access-insights.cron
/etc/redhat-access-insights/.registered
/etc/redhat-access-insights/.unregistered

[root@cheshi-avocado-cloud redhat-access-insights]# ls -la
total 8
drwxr-xr-x.  2 root root 4096 Aug  9 06:07 .
drwxr-xr-x. 80 root root 4096 Aug 22 16:00 ..
lrwxrwxrwx.  1 root root   32 Aug  9 06:07 .lastupload -> /etc/insights-client/.lastupload
lrwxrwxrwx.  1 root root   31 Aug  9 06:07 machine-id -> /etc/insights-client/machine-id
lrwxrwxrwx.  1 root root   41 Aug  9 06:07 redhat-access-insights.conf -> /etc/insights-client/insights-client.conf
lrwxrwxrwx.  1 root root   41 Aug  9 06:07 redhat-access-insights.cron -> /etc/insights-client/insights-client.cron
lrwxrwxrwx.  1 root root   32 Aug  9 06:07 .registered -> /etc/insights-client/.registered
lrwxrwxrwx.  1 root root   34 Aug  9 06:07 .unregistered -> /etc/insights-client/.unregistered
[root@cheshi-avocado-cloud redhat-access-insights]# rpm -qf redhat-access-insights.conf redhat-access-insights.cron
file /etc/redhat-access-insights/redhat-access-insights.conf is not owned by any package
file /etc/redhat-access-insights/redhat-access-insights.cron is not owned by any package
[root@cheshi-avocado-cloud redhat-access-insights]# rpm -qa | grep "insights-client"
insights-client-3.0.3-3.el6.noarch
[root@cheshi-avocado-cloud redhat-access-insights]# ls /etc/yum.repos.d/
redhat.repo  rh-cloud.repo

Version-Release number of selected component (if applicable):
insights-client-3.0.3-3.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install insights-client-3.0.3-3.el6.noarch by rpm
2. rpm -qf /etc/redhat-access-insights/.lastupload
3. rpm -qf /etc/redhat-access-insights/......

Actual results:
All files under /etc/redhat-access-insights/ are not owned by any package.

Expected results:
Those file links under /etc/redhat-access-insights/ should be included in insights-client and owned by the package.

Additional info:
1. xiaoxwan@ from Insights team helped verifying this issue. The log can be found at: http://pastebin.test.redhat.com/638622
2. Even those file links under /etc/redhat-access-insights/ are not included in insights-client, but they can be removed correctly during the rpm uninstallation.

Comment 2 Chen Shi 2019-05-23 09:23:59 UTC
This bug reproduced in the latest RHEL8.0 image on Alibaba Cloud. (version = insights-client-3.0.5-4.el8.noarch)

Comment 3 Chen Shi 2019-06-03 06:13:26 UTC
Cloned bug in RHEL8: https://bugzilla.redhat.com/show_bug.cgi?id=1713254