Red Hat Bugzilla – Bug 1023370
ddclient rpm should use stable uids
Last modified: 2017-04-06 06:04:35 EDT
Description of problem:
ddclient user is created using useradd and groupadd without specifying numeric ids/gids. It should use stable and defined uids.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. In a workstation install ddclient
2. In another workstation with a different set of users also install ddclient
3. The chosen uid/gid is not the same
chosen uid/gid is not the same
They should be the same.
I think the solution would be to change preinstall scriptlet from:
getent group ddclient > /dev/null || /usr/sbin/groupadd -r ddclient
getent passwd ddclient > /dev/null || /usr/sbin/useradd -r -g ddclient -d /var/cache/ddclient -s /sbin/nologin -c "Dynamic DNS Client" ddclient
getent group ddclient > /dev/null || /usr/sbin/groupadd -g SOMEGID -r ddclient
getent passwd ddclient > /dev/null || /usr/sbin/useradd -r -g ddclient -d /var/cache/ddclient -s /sbin/nologin -c "Dynamic DNS Client" ddclient -u SOMEID
AFAIK there is no concept in Fedora anymore for registering specific UIDs/GIDs
like fedora-usermgmt in previous times. Additionally the -r parameter is doing
its job IMHO.
Fedora EPEL 5 changed to end-of-life (EOL) status on 2017-03-31. Fedora EPEL 5
is no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of Fedora
or Fedora EPEL, please feel free to reopen this bug against that version. If
you are unable to reopen this bug, please file a new report against the current
release. If you experience problems, please add a comment to this bug.
Thank you for reporting this bug and we are sorry it could not be fixed.