Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705222 - acct-user/quassel uid=472 is also used by grafana in docker images
Summary: acct-user/quassel uid=472 is also used by grafana in docker images
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Johannes Huber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-12 08:02 UTC by Konstantin (Qrator Labs)
Modified: 2020-08-19 23:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin (Qrator Labs) 2020-01-12 08:02:54 UTC
At least they use it in their docker images.

Reproducible: Always
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2020-01-12 10:25:25 UTC
Does it collide?
Comment 2 Konstantin (Qrator Labs) 2020-01-12 11:44:16 UTC
Define "collide".

If we are talking about other acct-user package or user.eclass definition in portage tree, then no. If we are considering real world use cases involving www-apps/grafana-bin installed with emerge, the answer is "it doesn't matter, we cannot do anything about it as UIDs are already there". End users can experience problems of different severity if they have Grafana data obtained as a backup from other server or via running Grafana inside a docker container on Gentoo-based host
Comment 3 Johannes Huber (RETIRED) gentoo-dev 2020-01-12 13:50:29 UTC
So it would be solved when migrating www-apps/grafana-bin to acct-user when getting a new uid?
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2020-01-12 13:56:25 UTC
I double checked the ebuild of grafana-bin it has no hard coded uids, so 472 might be on your system but that can change. In first place grafana-bin should be migrated to acct-user with a requested fix uid in https://api.gentoo.org/uid-gid.txt
Comment 5 Konstantin (Qrator Labs) 2020-01-12 14:31:50 UTC
I'm not talking about Gentoo-specific UID for Grafana here.
472 is the UID Grafana upstream seems to prefer and hardcode in some places (like in their docker image).
Comment 6 Thomas Deutschmann (RETIRED) gentoo-dev 2020-08-19 23:36:25 UTC
This is not a problem. When GLEP 81 was new we tried to match upstream IDs for unknown reason. This was changed later, see https://archives.gentoo.org/gentoo-dev/message/9601d9904bf97d88349d41ab7d3a4eb7 where the discussion started.