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

[RHEL-10] dracut-pre-pivot[4178]: //lib/dracut/hooks/pre-pivot/92-anaconda-dnsconfd.sh: line 7: [: ==: unary operator expected

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-10.1
    • rhel-10.0
    • anaconda
    • None
    • No
    • Moderate
    • rhel-sst-installer
    • 10
    • 1
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • None

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

      The installer prints the following warning when booting a default installation from boot.iso:

       ...
      Mar 12 15:38:34 localhost systemd[1]: Finished dracut mount hook.
      Mar 12 15:38:34 localhost systemd[1]: Starting dracut pre-pivot and cleanup hook...
      Mar 12 15:38:34 localhost dracut-pre-pivot[1580]: //lib/dracut/hooks/pre-pivot/92-anaconda-dnsconfd.sh: line 7: [: ==: unary operator expected
      

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

      RHEL-9.6.0-20250311.8
      anaconda-34.25.5.17-1.el9_6

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. Boot boot.iso/dvd.iso, do not modify the boot arguments.
      2. Check console messages or journalctl.

      Expected results

      No unexpected errors/warnings from anaconda.

      Actual results

      Mar 12 15:38:34 localhost dracut-pre-pivot[1580]: //lib/dracut/hooks/pre-pivot/92-anaconda-dnsconfd.sh: line 7: [: ==: unary operator expected

      The installation continues without other issues.

              rvykydal@redhat.com Radek Vykydal
              jstodola@redhat.com Jan Stodola
              anaconda-maint-list anaconda-maint-list
              Release Test Team Release Test Team
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: