Skip to content

RPM update remove nvidia_gpu_exporter user and group. Service don't start #324

@sterni1971

Description

@sterni1971

Describe the bug
I've installed 1.3.1-1 . RPM output is useradd: user 'nvidia_gpu_exporter' already exists but there is no user.
Afterwards, the service can't start because the user and group referenced in systemd service don't exist.
After adding the user and group manually the service starts

To Reproduce
Steps to reproduce the behavior:
rpm -Uvh nvidia-gpu-exporter_1.3.1_linux_amd64.rpm
systemctl start nvidia_gpu_exporter.service

Expected behavior
Running service

Console output

Mai 05 09:19:06 foo systemd[31282]: nvidia_gpu_exporter.service: Failed to determine user credentials: No such process
Mai 05 09:26:10 foo systemd[32024]: nvidia_gpu_exporter.service: Failed to determine group credentials: No such process

Model and Version
NVIDIA A100-SXM4-40GB

Additional context
RHEL 9.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions