New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
checks/acct.py hardcodes range for system accounts #356
Comments
Configurable how? |
Not sure, maybe |
Not sure about that. In the end, we aren't using this file at the moment and it's not clear if it will be used in the end. |
I'll just extend the hardcoded range for now and think about putting it somewhere later. |
Could you update the error message too? It still says |
@ulm @mgorny Can one of you decide how and where to hold the range? I think [glep-81]
uid-range = 1-749,65534
gid-range = 1-749,65533,65534 The format idea is to have comma separated list, of |
I can't say that I like |
No problem :) [user-group-ids]
uid-range = 0-749,65534
gid-range = 0-749,65533,65534 (Also, is this the correct range?) |
See also user and group account policy: https://projects.gentoo.org/qa/policy-guide/user-group.html#pg0901 Suggested-by: Arthur Zamarin <arthurzam@gentoo.org> Bug: pkgcore/pkgcheck#356 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
See also user and group account policy: https://projects.gentoo.org/qa/policy-guide/user-group.html#pg0901 Bug: pkgcore/pkgcheck#356 Suggested-by: Arthur Zamarin <arthurzam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
See also user and group account policy: https://projects.gentoo.org/qa/policy-guide/user-group.html#pg0901 Bug: pkgcore/pkgcheck#356 Suggested-by: Arthur Zamarin <arthurzam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Load UID and GID range from metadata/qa-policy.conf under the repo, validate the format is as expected, and use the values to set expected ids. Resolves: pkgcore#356 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Load UID and GID range from metadata/qa-policy.conf under the repo, validate the format is as expected, and use the values to set expected ids. Resolves: pkgcore#356 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Load UID and GID range from metadata/qa-policy.conf under the repo, validate the format is as expected, and use the values to set expected ids. Resolves: pkgcore#356 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
By decision of the Gentoo Council today, the range from 0 to 749 is allowed for static allocation. Possibly this will be extended by another range above 60001 in future.
The
>= 500
check causes spurious errors, e.g. in gentoo/gentoo#22950.This should be increased to account for the extended range, or preferably made configurable.
The text was updated successfully, but these errors were encountered: