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

"Waiting for process" and sub-man messages on stdout of dnf needs-restarting

    • No
    • None
    • rhel-sst-cs-software-management
    • ssg_core_services
    • 0
    • False
    • Hide

      None

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

      RHEL 10 recently removed tracer, so I am looking for how to replace its functionality in Cockpit. Unfortunately all of the modes require a lot of parsing and guesswork (the output is not really machine readable), see RHEL-56139 (which was wontfixed).

      One aspect is "which services need to be restarted, for which we call dnf needs-restarting --services. This normally outputs a list of unit names, but sometimes the output looks like this:

      Waiting for process with pid 2848 to finish
      podman.service
      

      These both go to stdout and break scripts which act on the output. Please put the "Waiting for.." on stderr to make this more robust.

              packaging-team-maint packaging-team-maint
              rhn-engineering-mpitt Martin Pitt
              packaging-team-maint packaging-team-maint
              Software Management QE Software Management QE
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: