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

wireshark-cli's %post uses /usr/bin/udevadm but missing systemd-udev

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

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Minor Minor
    • rhel-10.0.z
    • rhel-10.0
    • wireshark
    • None
    • wireshark-4.4.2-3.el10_0
    • Yes
    • Low
    • 1
    • rhel-net-perf
    • ssg_core_services
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • N&P-25_1
    • Unspecified
    • Unspecified
    • Unspecified
    • None

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

      Install wireshark-cli as part of Anaconda kickstart %packages list. Install fails.

      What is the impact of this issue to you?

      Minor, can install in %post after %packages has installed the missing dependency.

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

      wireshark-cli-4.4.2-1.el10

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. Install RHEL 10.0 with kickstart file including:
      %packages
      @base
      wireshark-cli 
      1. Anaconda install fails

      Expected results

      Anaconda completes as packages installed in order needed.

      As per EL8/EL9:

      $ rpm -q --requires wireshark-cli-2.6.2-15.el8.x86_64 | grep -v \(
      /bin/sh
      /bin/sh
      /sbin/ldconfig
      shadow-utils
      systemd-udev

      Actual results

      $ rpm -q --requires -p wireshark-cli-4.4.2-1.el10.x86_64.rpm  | grep -v \(
      /bin/sh
      /bin/sh
      shadow-utils
      
      $ rpm -q --scripts -p wireshark-cli-4.4.2-1.el10.x86_64.rpm  | grep adm
          /usr/bin/udevadm trigger --subsystem-match=usbmon

       

      From Anaconda syslog:

      org.fedoraproject.Anaconda.Modul INFO:anaconda.modules.payloads.payload.dnf.transaction_progress:Configuring (running scriptlet for): wireshark-cli-1:4.4.2-1.el10.x86_64 1733230389 6cd44209621d236922263c878a66220d1ecf15f28d2766358b4d42dbab02e706
      groupadd[5066]: group added to /etc/group: name=wireshark, GID=992
      groupadd[5066]: group added to /etc/gshadow: name=wireshark
      groupadd[5066]: new group: name=wireshark, GID=992
      groupadd[5068]: group added to /etc/group: name=usbmon, GID=991
      groupadd[5068]: group added to /etc/gshadow: name=usbmon
      groupadd[5068]: new group: name=usbmon, GID=991
      org.fedoraproject.Anaconda.Modul INFO:anaconda.modules.payloads.payload.dnf.transaction_progress:Installed: wireshark-cli-1:4.4.2-1.el10.x86_64 1733230389 6cd44209621d236922263c878a66220d1ecf15f28d2766358b4d42dbab02e706
      org.fedoraproject.Anaconda.Modul INFO:anaconda.modules.payloads.payload.dnf.transaction_progress:Configuring (running scriptlet for): wireshark-cli-1:4.4.2-1.el10.x86_64 1733230389 6cd44209621d236922263c878a66220d1ecf15f28d2766358b4d42dbab02e706
      org.fedoraproject.Anaconda.Modul INFO:dnf.rpm:/var/tmp/rpm-tmp.j0XJZP: line 5: /usr/bin/udevadm: No such file or directory
      org.fedoraproject.Anaconda.Modul warning: %post(wireshark-cli-1:4.4.2-1.el10.x86_64) scriptlet failed, exit status 127
      org.fedoraproject.Anaconda.Modul ERROR:dnf.rpm:Error in POSTIN scriptlet in rpm package wireshark-cli
      org.fedoraproject.Anaconda.Modul ERROR:anaconda.modules.payloads.payload.dnf.transaction_progress:Error in POSTIN scriptlet in rpm package wireshark-cli
      

              mruprich@redhat.com Michal Ruprich
              pcolledg-amd Peter Colledge (Inactive)
              AMD Confidential Group
              Michal Ruprich Michal Ruprich
              Frantisek Hrdina Frantisek Hrdina
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: