Skip to content

passwd: use correct GID for tss#15

Merged
pothos merged 1 commit intoflatcar-masterfrom
kai/tss-gid
Feb 2, 2021
Merged

passwd: use correct GID for tss#15
pothos merged 1 commit intoflatcar-masterfrom
kai/tss-gid

Conversation

@pothos
Copy link
Copy Markdown
Member

@pothos pothos commented Jan 29, 2021

The tss GID is not 236 but 252. Luckily the tss group explicitly put
the user into it but still we don't want an unallocated group to be
used. While for consistency it would be nice to choose 236 as new GID,
this could be incompatible with any files created under /var/ or a
similar case where the old GID is still on the filesystem. With the
correct GID referenced, the explicit add of the user inside the group
file is not needed anymore.

How to use

Testing done

@pothos pothos requested a review from a team January 29, 2021 11:06
@margamanterola
Copy link
Copy Markdown

I think we should also remove the explicit add in the other file if we do this. I don't think it leads to any errors having the user belong to a group through their GID and through an explicit add, but it's confusing and doesn't help.

The tss GID is not 236 but 252. Luckily the tss group explicitly put
the user into it but still we don't want an unallocated group to be
used. While for consistency it would be nice to choose 236 as new GID,
this could be incompatible with any files created under /var/ or a
similar case where the old GID is still on the filesystem. With the
correct GID referenced, the explicit add of the user inside the group
file is not needed anymore.
@pothos
Copy link
Copy Markdown
Member Author

pothos commented Jan 29, 2021

Updated

Copy link
Copy Markdown

@margamanterola margamanterola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM. Since this is a very small cleanup, I'd not cherry pick it to stable and let it trickle through instead.

@pothos pothos merged commit 8e4cd3c into flatcar-master Feb 2, 2021
@pothos pothos deleted the kai/tss-gid branch February 2, 2021 18:46
pothos added a commit to flatcar-archive/coreos-overlay that referenced this pull request Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants