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

"needs-restarting -s" instructs to restart dbus-broker.service unit, which is known to break the system

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-9.6, rhel-10.0
    • dnf-plugins-core
    • No
    • Low
    • rhel-swm
    • 0
    • Dev ack
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      When updating some packages, such as the glibc, the needs-restarting -s command instructs to restart a number of services, including dbus-broker:

      # yum -y reinstall glibc
      # dnf needs-restarting -s
      [...]
      systemd-udevd.service
      user@0.service
      dbus-broker.service          <<<<<<<
      systemd-journald.service
      ovs-vswitchd.service
      [...]
      

      This is problematic, because restarting dbus-broker leads to breaking system logins and other components, such as firewalld (tracked by RHEL-94927), as explained in RHEL-94912 for systemd-logind.

      IMHO, when a reboot is required (e.g. because of glibc update), the dnf needs-restarting -s command should not list the services to restart, but tell to reboot the system instead.

              packaging-team-maint packaging-team-maint
              rhn-support-rmetrich Renaud Métrich
              packaging-team-maint packaging-team-maint
              Software Management QE Software Management QE
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: