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

[RFE] geoclue2 use systemd-sysusers

    • None
    • rhel-sst-display-desktop-foundation
    • ssg_display
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:
      geoclue2 is using static useradd scripts

      Version-Release number of selected component (if applicable):
      geoclue2-2.5.7-5.el9

      How reproducible:100%

      Steps to Reproduce:
      1.review %pre
      2.
      3.

      Actual results:
      %pre

      1. Update the home directory for existing users
        getent passwd geoclue >/dev/null && \
        usermod -d /var/lib/geoclue geoclue &>/dev/null
      2. Create a new user and group if they don't exist
        getent group geoclue >/dev/null || groupadd -r geoclue
        getent passwd geoclue >/dev/null || \
        useradd -r -g geoclue -d /var/lib/geoclue -s /sbin/nologin \
        -c "User for geoclue" geoclue
        exit 0

      Expected results:
      use of system-sysusers

      Additional info:
      https://www.freedesktop.org/software/systemd/man/systemd-sysusers.html
      https://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format

              klember@redhat.com Kalev Lember (Inactive)
              riehecky Pat Riehecky
              Kalev Lember Kalev Lember (Inactive)
              Desktop QE Desktop QE
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: