Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 823750 - UIDs and GIDs allocated in range 0..100 contrary to QA policy
Summary: UIDs and GIDs allocated in range 0..100 contrary to QA policy
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Gentoo Quality Assurance Team
URL: https://projects.gentoo.org/qa/policy...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-11-14 17:23 UTC by Ulrich Müller
Modified: 2021-11-15 13:45 UTC (History)
4 users (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 Ulrich Müller gentoo-dev 2021-11-14 17:23:07 UTC
We've run out of GIDs below 500, and unfortunately the used_free_uidgids.sh script has walked into the 100..0 range, contrary to QA policy. Affected IDs are, in chronological order of their allocation:

   NAME                    UID  GID
   elasticsearch_exporter   98   98
   burrow_exporter          96   96
   reg                      94   94
   fluentd                  93   93
   partimag                 91   91
   systemd-hostname          -   66

As discussed in #gentoo-qa, we are going to move them, once the council has approved an additional range of IDs.

This move shouldn't have any negative impact on users' systems, because existing systems will keep their IDs. (It's no different than transition from user.eclass to an acct-* package.)

Patches for uid-gid.txt and for the respective acct-*/* packages will follow.
Comment 1 Ulrich Müller gentoo-dev 2021-11-14 18:00:31 UTC
(In reply to Ulrich Müller from comment #0)
>    partimag                 91   91

Strike this one from the list, because 91 was used historically.
Comment 2 Larry the Git Cow gentoo-dev 2021-11-14 20:09:03 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/data/api.git/commit/?id=be1ace55cb9d3467daa8374b9769d0c127cc027d

commit be1ace55cb9d3467daa8374b9769d0c127cc027d
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2021-11-14 19:55:45 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2021-11-14 19:55:45 +0000

    uid-gid.txt: Request IDs that are to be moved from 0..100 range
    
    Bug: https://bugs.gentoo.org/823750
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 files/uid-gid.txt | 5 +++++
 1 file changed, 5 insertions(+)
Comment 3 Conrad Kostecki gentoo-dev 2021-11-14 20:38:35 UTC
(In reply to Ulrich Müller from comment #0)
>    NAME                    UID  GID
>    elasticsearch_exporter   98   98
>    burrow_exporter          96   96
>    reg                      94   94
>    fluentd                  93   93

@Williamh: Since this are your packages, but I was the one, who added the group and you later the user, do you wan't me to update those or do you want to handle that by your own?

>    partimag                 91   91

Just a note: Only group exists in tree, no user and deps currently, so I can handle that, if rest is okay, as I was the one, who added the group.

>    systemd-hostname          -   66

While this is not my package, I guess, changing gid should be unproblematic, as this group package is only used by live ebuild of systemd.

> As discussed in #gentoo-qa, we are going to move them, once the council has
> approved an additional range of IDs.

Will you inform me, when this will happen? :-)
Comment 4 Conrad Kostecki gentoo-dev 2021-11-14 20:39:09 UTC
Okay, never mind. Thank you ulm :-)
Comment 5 Larry the Git Cow gentoo-dev 2021-11-15 13:13:03 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f88b249729abdaaba3a9de39943d327f91dd8a2d

commit f88b249729abdaaba3a9de39943d327f91dd8a2d
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2021-11-14 20:26:33 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2021-11-15 13:12:58 +0000

    acct-group/systemd-hostname: Change GID to 505
    
    Bug: https://bugs.gentoo.org/823750
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 .../{systemd-hostname-0.ebuild => systemd-hostname-0-r1.ebuild}         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94488609c2b07c13e59997bec11f405f1a0ffdf5

commit 94488609c2b07c13e59997bec11f405f1a0ffdf5
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2021-11-14 20:25:50 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2021-11-15 13:12:57 +0000

    acct-user/fluentd: Change UID to 504
    
    Bug: https://bugs.gentoo.org/823750
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 acct-user/fluentd/{fluentd-0.ebuild => fluentd-0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dc222237ef2c72b4978be8b562cca82a937b82a

commit 0dc222237ef2c72b4978be8b562cca82a937b82a
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2021-11-14 20:25:12 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2021-11-15 13:12:56 +0000

    acct-group/fluentd: Change GID to 504
    
    Bug: https://bugs.gentoo.org/823750
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 acct-group/fluentd/{fluentd-0.ebuild => fluentd-0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f06b87a91e967cfddacb277c25a03c5b1df8275e

commit f06b87a91e967cfddacb277c25a03c5b1df8275e
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2021-11-14 20:24:10 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2021-11-15 13:12:56 +0000

    acct-user/reg: Change UID to 503
    
    Bug: https://bugs.gentoo.org/823750
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 acct-user/reg/{reg-0.ebuild => reg-0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bcbfc63b4beb0faddef56fd32caf48a89ce196f

commit 6bcbfc63b4beb0faddef56fd32caf48a89ce196f
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2021-11-14 20:23:33 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2021-11-15 13:12:55 +0000

    acct-group/reg: Change GID to 503
    
    Bug: https://bugs.gentoo.org/823750
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 acct-group/reg/{reg-0.ebuild => reg-0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dac11e92c45efdc3eeab79129b739215e0a8d6df

commit dac11e92c45efdc3eeab79129b739215e0a8d6df
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2021-11-14 20:22:55 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2021-11-15 13:12:54 +0000

    acct-user/burrow_exporter: Change UID to 502
    
    Bug: https://bugs.gentoo.org/823750
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 .../{burrow_exporter-0.ebuild => burrow_exporter-0-r1.ebuild}           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc476f2c651dbd263734ab6fbfe64d1be263c18f

commit fc476f2c651dbd263734ab6fbfe64d1be263c18f
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2021-11-14 20:22:21 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2021-11-15 13:12:53 +0000

    acct-group/burrow_exporter: Change GID to 502
    
    Bug: https://bugs.gentoo.org/823750
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 .../{burrow_exporter-0.ebuild => burrow_exporter-0-r1.ebuild}           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca6a05870ee51863a65b4796270e888ec5e47d07

commit ca6a05870ee51863a65b4796270e888ec5e47d07
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2021-11-14 20:19:46 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2021-11-15 13:12:52 +0000

    acct-user/elasticsearch_exporter: Change UID to 501
    
    Bug: https://bugs.gentoo.org/823750
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 ...asticsearch_exporter-0.ebuild => elasticsearch_exporter-0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff8b518fef3fa583d4a45bd2219b6c82e640bb64

commit ff8b518fef3fa583d4a45bd2219b6c82e640bb64
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2021-11-14 20:19:11 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2021-11-15 13:12:51 +0000

    acct-group/elasticsearch_exporter: Change GID to 501
    
    Bug: https://bugs.gentoo.org/823750
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 ...asticsearch_exporter-0.ebuild => elasticsearch_exporter-0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 6 Ulrich Müller gentoo-dev 2021-11-15 13:44:50 UTC
(In reply to Ulrich Müller from comment #0)
>    NAME                    UID  GID
>    systemd-hostname          -   66

It doesn't have any practical relevance, but GID 66 also collided with uucp in baselayout-fbsd.
Comment 7 Ulrich Müller gentoo-dev 2021-11-15 13:45:19 UTC
All done. Closing.