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

sysusers installation processing doesn't work with dbus-broker

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • rhel-10.0
    • dbus-broker
    • None
    • No
    • None
    • rhel-systemd
    • 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?

      Automatic handling of user/group creation using sysusers during installation happens too late, causing dbus-broker reloading itself ignoring added access rules due to the user not existing.

      Aug 07 11:55:35 localhost.localdomain dbus-broker-launch[1016]: Noticed file-system modification, trigger reload.
      Aug 07 11:55:35 localhost.localdomain dbus-broker-launch[1016]: Looking up NSS user entry for 'gnome-remote-desktop'...
      Aug 07 11:55:35 localhost.localdomain dbus-broker-launch[1016]: NSS returned no entry for 'gnome-remote-desktop'
      Aug 07 11:55:35 localhost.localdomain dbus-broker-launch[1016]: Invalid user name 'gnome-remote-desktop' in service file '/usr/share/dbus-1/system-service>

      The issue is that dbus-broker notices files changes and reloads, but user creation happens long after that, after %post.

      What is the impact of this issue to you?

      Installing gnome-remote-desktop requires one to manually call `systemctl reload dbus.service` or rebooting, before being able to use the package.

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

      systemd-257-11.el10.x86_64

      How reproducible is this bug?:

      Install gnome-remote-desktop and look at the dbus.service logs.

      Expected results

      User creation using sysusers being compatible with dbus-broker.

      Actual results

      User creation using sysusers doesn't work with dbus-broker access rules.

      Notes

      Arguably, this could be considered a dbus-broker bug as well.

              lnykryn@redhat.com Lukáš Nykrýn
              jadahl@redhat.com Jonas Ådahl
              Lukáš Nykrýn Lukáš Nykrýn
              RHEL CS Plumbers QE Bot RHEL CS Plumbers QE Bot
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: