Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

iot-rest-api-server: Only report warning if user unknown #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rzr
Copy link
Contributor

@rzr rzr commented Mar 7, 2017

This prevent layer's users to overload recipe
if not using static users/group table (USERADD_UID_TABLES).

Signed-off-by: Philippe Coval philippe.coval@osg.samsung.com

This prevent layer's users to overload recipe
if not using static users/group table (USERADD_UID_TABLES).

Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
@ostroproject-ci
Copy link

Can one of the admins verify this patch?

@nagineni
Copy link

@rzr, I think we see that error if we use useradd-staticids class but not define the user ID and group ID values in the files listed in USERADD_UID_TABLES and USERADD_GID_TABLES. Is there any specific reason why you don't want to define uid & gid values, but use the useradd-staticids class?

I think the right approach is to define those values if you are using the useradd-staticids class or use only useradd class instead of useradd-staticids.

The build might be okay if we disable the error, but the REST server will fail to start if you are using systemd daemon to invoke.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants