Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-144924

insights-client RPM should not include .etag files in /etc/insights-client (rhel 9)

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • rhel-9.9
    • rhel-9.8
    • insights-client
    • None
    • None
    • Moderate
    • subs-client-tools-1
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      During the upgrade process of insights-client I found out that in /etc/insights-client there are files related to egg (.insights-core.etag and .insights-core-gpg-sig.etag) which shouldn't be created since insights-core is already shipped as an RPM.

      What is the impact of this issue to you?

      Please provide the package NVR for which the bug is seen:

      insights-client-3.9.3-1.el9.noarch

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. Register the system using subscription-manager register command
      2. Register the system to insights running insights-client --register
      3. Upgrade insights-client to insights-client-3.9.3-1.el9.noarch
      4.  List files (also hidden) in /etc/insights-client

      Expected results

      [root@beaver-24 ~]# ls -al /etc/insights-client/
      total 180
      drwxr-xr-x.   2 root root   4096 Jan 28 10:10 .
      drwxr-xr-x. 105 root root   8192 Jan 28 10:10 ..
      -r--r--r--.   1 root root   4586 Jan  9 04:26 cert-api.access.redhat.com.pem
      -rw-r--r--.   1 root root 120832 Jan  9 04:26 .fallback.json
      -rw-r--r--.   1 root root    819 Jan  9 04:26 .fallback.json.asc
      -rw-r--r--.   1 root root   1208 Jan  9 04:26 insights-client.conf
      -rw-r--r--.   1 root root    401 Jan  9 04:26 insights-client.motd
      -rw-r--r--.   1 root root     26 Jan 28 10:09 .lastupload
      -rw-r--r--.   1 root root    107 Jan 28 10:09 .last-upload.results
      -rw-r--r--.   1 root root     36 Jan 28 10:08 machine-id
      -rw-r--r--.   1 root root     26 Jan 28 10:08 .registered
      

      Actual results

      [root@beaver-24 ~]# ls -al /etc/insights-client/
      total 180
      drwxr-xr-x.   2 root root   4096 Jan 28 10:10 .
      drwxr-xr-x. 105 root root   8192 Jan 28 10:10 ..
      -r--r--r--.   1 root root   4586 Jan  9 04:26 cert-api.access.redhat.com.pem
      -rw-r--r--.   1 root root 120832 Jan  9 04:26 .fallback.json
      -rw-r--r--.   1 root root    819 Jan  9 04:26 .fallback.json.asc
      -rw-r--r--.   1 root root   1208 Jan  9 04:26 insights-client.conf
      -rw-r--r--.   1 root root    401 Jan  9 04:26 insights-client.motd
      -rw-r--r--.   1 root root     52 Jan 28 10:08 .insights-core.etag
      -rw-r--r--.   1 root root     52 Jan 28 10:08 .insights-core-gpg-sig.etag
      -rw-r--r--.   1 root root     26 Jan 28 10:09 .lastupload
      -rw-r--r--.   1 root root    107 Jan 28 10:09 .last-upload.results
      -rw-r--r--.   1 root root     36 Jan 28 10:08 machine-id
      -rw-r--r--.   1 root root     26 Jan 28 10:08 .registered
      

              csi-client-tools-bugs CSI Client Tools Bugs Bot
              pkoprda@redhat.com Peter Koprda
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: