getent isn't the problem here: it is just returning whatever data the
nameservice switch provides.

The underlying cause is that libnss-extrausers ignores entries in the
extrausers database that have a uid or gid less than 500:

https://git.launchpad.net/ubuntu/+source/libnss-
extrausers/tree/s_config.h

The docker user and group as defined fall into that category.

It's not at all clear that it's a good idea to have low ID users and
groups in extrausers anyway: it seems like it's just asking for
conflicts with future updates of the base snap.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1889092

Title:
  getent does not support extrausers on uc18

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1889092/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to