Bug 2118227 - User id and group id not recognized
Summary: User id and group id not recognized
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: shadow-utils
Version: 35
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Iker Pedrosa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-15 05:34 UTC by Edgar Hoch
Modified: 2022-10-05 01:03 UTC (History)
4 users (show)

Fixed In Version: shadow-utils-4.11.1-4.fc36 shadow-utils-4.9-11.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-17 01:39:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github shadow-maint/shadow/commit/3ec32f9975f262073f8fbdecd2bfaee4a1d3db48 0 None None None 2022-08-15 05:34:21 UTC
Red Hat Bugzilla 2093311 0 high CLOSED RHEL 8.6 does not allow using UID in /etc/subuid and /etc/subgid files 2023-06-11 06:36:33 UTC
Red Hat Issue Tracker SSSD-4966 0 None None None 2022-08-22 14:43:50 UTC

Description Edgar Hoch 2022-08-15 05:34:21 UTC
Description of problem:
podman doesn't recognized user id and group id in /etc/subuid and /etc/subgid. It only searches for username and groupname.

This makes the files prefilled with all user and group ids from 1000 to 65535 useless. Each username and groupname needs to be added individually.

1000:65536000:65536
1001:65601536:65536
1002:65667072:65536
1003:65732608:65536
...

shadow-utils 4.12 contains a fix for this:

    * Check for ownerid (not just username) in subid ranges (Iker Pedrosa)

https://github.com/shadow-maint/shadow/commit/3ec32f9975f262073f8fbdecd2bfaee4a1d3db48

Please upgrade all current Fedora versions to shadow-utils 4.12 to fix this problem.


Version-Release number of selected component (if applicable):
shadow-utils-4.9-9.fc35.x86_64

How reproducible:
Always

Comment 1 Andre Boscatto 2022-08-19 08:02:13 UTC
Hi,

It should be fixed with BZ 2117809

I'm not sure which Fedora release(s) it will land, Iker can comment on that once he is back.

*** This bug has been marked as a duplicate of bug 2117809 ***

Comment 2 Iker Pedrosa 2022-08-22 09:25:06 UTC
Reopening it as we shouldn't do any rebase in an already released Fedora version.

My plan is to work in https://bugzilla.redhat.com/show_bug.cgi?id=2117809 and once that is fixed I will port the fix for this bugzilla to other Fedora versions.

Comment 3 Fedora Update System 2022-09-14 09:26:58 UTC
FEDORA-2022-19fff348e3 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-19fff348e3

Comment 4 Fedora Update System 2022-09-15 02:21:11 UTC
FEDORA-2022-19fff348e3 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-19fff348e3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-19fff348e3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2022-09-17 01:39:58 UTC
FEDORA-2022-19fff348e3 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2022-09-19 08:04:07 UTC
FEDORA-2022-22e2ce7a16 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-22e2ce7a16

Comment 7 Fedora Update System 2022-09-20 01:48:42 UTC
FEDORA-2022-22e2ce7a16 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-22e2ce7a16`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-22e2ce7a16

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2022-10-05 01:03:48 UTC
FEDORA-2022-22e2ce7a16 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.