You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because no numeric user ID is specified here, the next available user ID is selected. This can interfere with essential cookbooks such as users later adding additional users to the machine with specific IDs.
Here’s how this bit me in my case:
Provisioned a new node, which did this:
users::default created users with specified IDs 2001, 2002, 2003.
rbenv::default created user rbenv with auto-assigned user ID 2004.
At some later date, on my Chef Server, specified a new user in the sequence of IDs: 2004.
The next chef-client run on the existing node failed because ID 2004 was taken by the rbenv user.
I suggest that a default numeric ID should be specified for the rbenv user, and configurable using an attribute:
Recipe
rbenv::default
creates a userrbenv
:Because no numeric user ID is specified here, the next available user ID is selected. This can interfere with essential cookbooks such as users later adding additional users to the machine with specific IDs.
Here’s how this bit me in my case:
users::default
created users with specified IDs 2001, 2002, 2003.rbenv::default
created userrbenv
with auto-assigned user ID 2004.rbenv
user.I suggest that a default numeric ID should be specified for the rbenv user, and configurable using an attribute:
The text was updated successfully, but these errors were encountered: