Skip to content

feat: use "universal" UID#157

Open
JGodin-C2C wants to merge 2 commits into
OpenVoxProject:mainfrom
JGodin-C2C:use_new_UID
Open

feat: use "universal" UID#157
JGodin-C2C wants to merge 2 commits into
OpenVoxProject:mainfrom
JGodin-C2C:use_new_UID

Conversation

@JGodin-C2C

Copy link
Copy Markdown
Contributor

this change is breaking

Short description

The usage of low UID may collid with existing UIDs in distros (for instance, 999 is UID for ping in alpine )

@JGodin-C2C JGodin-C2C requested a review from a team as a code owner June 25, 2026 13:34
@JGodin-C2C JGodin-C2C force-pushed the use_new_UID branch 2 times, most recently from 5e9aa81 to 4109e54 Compare June 25, 2026 13:38
@rwaffen

rwaffen commented Jun 25, 2026

Copy link
Copy Markdown
Member

LGTM, can you add a section to the README and link the MIGRATION there? not that people still overlook it.

this change is breaking

Signed-off-by: Julien Godin <julien.godin@camptocamp.com>
@zmcgrew

zmcgrew commented Jun 26, 2026

Copy link
Copy Markdown

FWIW, this pull request will break https://github.com/voxpupuli/container-r10k by default, unless you also change the default UID:GID there too.

I agree with @bootc for keeping it 999:999 by default.

That said, I do really like the MIGRATION.md and new section in the README.md; I've always wondered if the container upgrade required me to do anything or not.

@JGodin-C2C

Copy link
Copy Markdown
Contributor Author

hey @zmcgrew !

the r10k container have an option for this. One could add some documentation in the MIGRATION.md . But i see your point. Additionally, r10k would works with 999, but not 1001.

About the "keep 999:999" i dont think that it is a good idea as it may collide with other services. Also,using high UID means that you do not need to add complexity over the "yeaaaah, sooo, we have two UIDs depending on which tag you actullay pull". The voluntary high UID/GID is choosen so the chance of collision remain low and makes sense in a kubernetes environment if that make sense.

@rwaffen rwaffen mentioned this pull request Jun 29, 2026
8 tasks
@rwaffen

rwaffen commented Jun 29, 2026

Copy link
Copy Markdown
Member

i'd like to favor this PR to solve the uid/gid discussion. the ids are high enough to not collide and it is documente how to get there. if we choose this, we also need to fix r10k.

JGodin-C2C added a commit to JGodin-C2C/container-r10k that referenced this pull request Jun 30, 2026
openvox container UID/GID is beeing changed to a more
universal one. This PR reflect this change.

container openvox pull request can be found here

OpenVoxProject/container-openvoxserver#157

Signed-off-by: Julien Godin <julien.godin@camptocamp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants