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

Fix the warning displayed on running ipa-healthcheck

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

    • ipa-healthcheck-0.16-11.el10
    • No
    • Low
    • 1
    • rhel-idm-pki
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • 2025-IDM-PKI-S2
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      When ipa-healthcheck is run we see the below warning message, need to fix the warning message.

      ipa-server-4.12.2-21.el10.x86_64
      ipa-healthcheck-0.16-10.el10.noarch

      [root@server ~]# ipa-healthcheck --all --severity=WARNING
      /usr/lib/python3.12/site-packages/ipalib/x509.py:274: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to not_valid_after_utc.
        return self._cert.not_valid_after.replace(tzinfo=datetime.timezone.utc)
      /usr/lib/python3.12/site-packages/ipalib/x509.py:274: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to not_valid_after_utc.
        return self._cert.not_valid_after.replace(tzinfo=datetime.timezone.utc)

      The same command works without any warning in RHEL-9.7

      ipa-server-4.12.2-18.el9.x86_64
      ipa-healthcheck-0.16-7.el9.noarch

      [root@master ~]# ipa-healthcheck --all --severity=WARNING
      [
        {
          "source": "ipahealthcheck.ipa.files",
          "check": "IPAFileNSSDBCheck",
          "result": "WARNING",
          "uuid": "15928cca-2d6c-4012-8689-4973d7ff4b0a",
          "when": "20250620121330Z",
          "duration": "0.000031",
          "kw":

      {       "type": "umask",       "expected": "0o22",       "got": "0o27",       "msg": "Unexpected umask 0o027 expected 0o022, skipping file permissions."     }

        },
      ]

              rhn-engineering-rcrit Rob Crittenden
              sumenon@redhat.com Sudhir Menon
              Rob Crittenden Rob Crittenden
              Sudhir Menon Sudhir Menon
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: