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

iproute: No error reported when using devlink dev flash with non-existant device

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.2
    • iproute
    • None
    • None
    • Moderate
    • rhel-net-core
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

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

      Tried to run devlink dev flash with non-existing device

      What is the impact of this issue to you?

      Bad user experience... Silent output does not indicate any problem.

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

      iproute-6.14.0-2.el10 but any version is affected

      How reproducible is this bug?:

      Steps to reproduce

      1. devlink dev flash foo/bar file firmware.bin

      Expected results

      $ devlink/devlink dev flash foo/bar file test
      devlink answers: Operation not permitted
      
      # devlink/devlink dev flash foo/bar file test
      devlink answers: No such device 

      Actual results

      $ devlink/devlink dev flash foo/bar file test
      # devlink/devlink dev flash foo/bar file test
      

              nst-kernel-bugs nst-kernel-bugs
              rhn-engineering-ivecera Ivan Vecera
              nst-kernel-bugs nst-kernel-bugs
              Ying Xu Ying Xu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: