-
Bug
-
Resolution: Not a Bug
-
Undefined
-
None
-
rhel-10.0
-
None
-
None
-
None
-
rhel-idm-zta
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
-
x86_64
-
None
What were you trying to do that didn't work?
I have tried testing my components using image-mode. Many of my tests failed, because useradd didn't find group called "lp". I have tried to find group on the system by getent and it found this group:
getent group | grep lp lp:x:7:
I have looked into /etc/group and didn't find it there:
cat /etc/group | grep lp
So I was looking for the source of the group and found this:
cat /etc/nsswitch.conf | grep group group: files [SUCCESS=merge] altfiles [SUCCESS=merge] systemd
So it was probably added by nss and not found by useradd. Is there anything, that can be done?
What is the impact of this issue to you?
Please provide the package NVR for which the bug is seen:
shadow-utils-4.15.0-8.el10.x86_64
How reproducible is this bug?:
Always
Steps to reproduce
- useradd -G lp user123
Expected results
User is added into this group
Actual results
User is not added to the group, since useradd can't find it.