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

insights-client RPM should not include .etag files in /etc/insights-client

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • rhel-10.2
    • insights-client
    • None
    • None
    • Moderate
    • subs-client-tools-1
    • None
    • 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.10.3-1.el10.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.10.3-1.el10.noarch
      4.  List files (also hidden) in /etc/insights-client

      Expected results

      [root@kvm-08-guest02 ~]# ls -la /etc/insights-client/
      total 56
      drwxr-xr-x.   2 root root 4096 Jan 16 07:00 .
      drwxr-xr-x. 103 root root 8192 Jan 16 07:00 ..
      -r--r--r--.   1 root root 4586 Jan  6 19:00 cert-api.access.redhat.com.pem
      -rw-r--r--.   1 root root 1208 Jan  6 19:00 insights-client.conf
      -rw-r--r--.   1 root root  405 Jan  6 19:00 insights-client.motd
      -rw-r--r--.   1 root root   26 Jan 16 06:59 .lastupload
      -rw-r--r--.   1 root root  107 Jan 16 06:59 .last-upload.results
      -rw-r--r--.   1 root root   36 Jan 16 06:59 machine-id
      -rw-r--r--.   1 root root   26 Jan 16 06:59 .registered
      

      Actual results

      [root@kvm-08-guest02 ~]# ls -la /etc/insights-client/
      total 56
      drwxr-xr-x.   2 root root 4096 Jan 16 07:00 .
      drwxr-xr-x. 103 root root 8192 Jan 16 07:00 ..
      -r--r--r--.   1 root root 4586 Jan  6 19:00 cert-api.access.redhat.com.pem
      -rw-r--r--.   1 root root 1208 Jan  6 19:00 insights-client.conf
      -rw-r--r--.   1 root root  405 Jan  6 19:00 insights-client.motd
      -rw-r--r--.   1 root root   52 Jan 16 06:58 .insights-core.etag
      -rw-r--r--.   1 root root   52 Jan 16 06:58 .insights-core-gpg-sig.etag
      -rw-r--r--.   1 root root   26 Jan 16 06:59 .lastupload
      -rw-r--r--.   1 root root  107 Jan 16 06:59 .last-upload.results
      -rw-r--r--.   1 root root   36 Jan 16 06:59 machine-id
      -rw-r--r--.   1 root root   26 Jan 16 06:59 .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: