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

[RFE} vhostmd use systemd-sysusers

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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • vhostmd
    • None
    • None
    • rhel-virt-core
    • ssg_virtualization
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • ---
    • None
    • 57,005

      Description of problem:
      vhostmd has static useradd scripts

      Version-Release number of selected component (if applicable):
      vhostmd-1.1-11.el9

      How reproducible:
      100%

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

      Actual results:
      %pre

      1. UID:GID 112:112 reserved, see RHBZ#534109.
        getent group vhostmd >/dev/null || groupadd -g 112 -r vhostmd
        getent passwd vhostmd >/dev/null || \
        useradd -u 112 -r -g vhostmd -d %{_datadir}/vhostmd -s /sbin/nologin \
        -c "Virtual Host Metrics Daemon" vhostmd
        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

              nilskoenigrh Nils Koenig
              riehecky Pat Riehecky
              Daniel Streit Daniel Streit
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: