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

[RHEL-9] Do not remove "/usr/bin/stat" and "/usr/bin/openssl" from the installation environment

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

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-9.6
    • rhel-9.6
    • lorax-templates-rhel
    • None
    • lorax-templates-rhel-9.6-2.el9_6
    • No
    • Critical
    • image-builder-1
    • ssg_front_door
    • 29
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Approved Blocker
    • Unspecified
    • Unspecified
    • Unspecified
    • None

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

      Try to start the dnsconfd service in the installation environment (systemctl start dnsconfd) and find out that stat and openssl are missing in the installation environment:

      Feb 18 10:22:10 localhost.localdomain dnsconfd-prepare[2608]: /usr/libexec/dnsconfd-prepare: line 3: stat: command not found
      Feb 18 10:22:10 localhost.localdomain dnsconfd[2613]: INFO:Starting:Successfully configured DNS manager
      Feb 18 10:22:10 localhost.localdomain dnsconfd[2613]: INFO:DnsconfdContext:New state: ContextState.CONFIGURING_DNS_MANAGER, new event: SUCCESS
      Feb 18 10:22:10 localhost.localdomain dnsconfd[2613]: INFO:Starting:Successfully connected to systemd through DBUS
      Feb 18 10:22:10 localhost.localdomain dnsconfd[2613]: INFO:DnsconfdContext:New state: ContextState.CONNECTING_DBUS, new event: SUCCESS
      Feb 18 10:22:10 localhost.localdomain dnsconfd[2613]: INFO:SystemdManager:Starting unbound
      Feb 18 10:22:10 localhost.localdomain dnsconfd[2613]: INFO:Starting:Successfully submitted dns cache service start job
      Feb 18 10:22:10 localhost.localdomain dnsconfd[2613]: INFO:DnsconfdContext:New state: ContextState.SUBMITTING_START_JOB, new event: SUCCESS
      Feb 18 10:22:10 localhost.localdomain dnsconfd[2613]: INFO:DnsconfdContext:New state: ContextState.WAITING_FOR_START_JOB, new event: None
      Feb 18 10:22:10 localhost.localdomain systemd[1]: Starting Unbound Control Key And Certificate Generator...
      Feb 18 10:22:10 localhost.localdomain unbound-control-setup[2614]: setup in directory /etc/unbound/
      Feb 18 10:22:10 localhost.localdomain unbound-control-setup[2615]: /usr/sbin/unbound-control-setup: line 119: openssl: command not found
      Feb 18 10:22:10 localhost.localdomain systemd[1]: unbound-keygen.service: Main process exited, code=exited, status=127/n/a
      Feb 18 10:22:10 localhost.localdomain systemd[1]: unbound-keygen.service: Failed with result 'exit-code'.
      Feb 18 10:22:10 localhost.localdomain systemd[1]: Failed to start Unbound Control Key And Certificate Generator.
      

      What is the impact of this issue to you?

      The dnsconfd service not working properly.

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

      lorax-templates-rhel-9.6-1.el9
      dnsconfd-1.7.1-2.el9
      unbound-1.16.2-17.el9

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. Start the installer
      2. in stage2, start the dnsconfd service:
        systemctl start dnsconfd
      3. check journalctl for errors

      Expected results

      No errors when starting the dnsconfd service. The stat and openssl binaries are included in the installation environment.

      Actual results

      Feb 18 10:22:10 localhost.localdomain dnsconfd-prepare[2608]: /usr/libexec/dnsconfd-prepare: line 3: stat: command not found
      ...
      Feb 18 10:22:10 localhost.localdomain unbound-control-setup[2615]: /usr/sbin/unbound-control-setup: line 119: openssl: command not found
      

              brlane@redhat.com Brian Lane
              jstodola@redhat.com Jan Stodola
              Brian Lane Brian Lane
              Release Test Team Release Test Team
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: