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

Avoid network operation in ima-setup if possible

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-10.2
    • rhel-10.0
    • ima-evm-utils
    • None
    • No
    • Low
    • 1
    • rhel-kernel-security
    • 10
    • 14
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • CK Parent Issues In Progress
    • None
    • None
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      ima-setup unconditionally does:

      dnf install rpm-plugin-ima

      At least on Satellite registered systems the dnf plugins talk to Satellite even if the package is already installed so it would be preferable to avoid unnecessary network operations and a slight delay in the script by checking e.g. with "rpm -q rpm-plugin-ima" if the dnf command is really needed or not.

      Thanks.

              coxu@redhat.com Coiby Xu
              myllynen Marko Myllynen
              Coiby Xu Coiby Xu
              Dennis Li Dennis Li
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: