Xenial's shadow regresses subid allocation logic (wastes uids and gids)
Bug #1545884 reported by
Stéphane Graber
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shadow (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Unassigned |
Bug Description
Back in trusty I wrote a patch to shadow which makes sure we only ever allocate a 65k uid/gid map to new users that aren't a system user (no --system flag and not a system uid/gid).
This has regressed recently in Xenial and on a fresh install I found myself with about 15 system users each having 65536 uids and gids allocated to them. That's wasteful and may end up creating accidental collisions when using network authentication.
I have now upstreamed the change we used to have as a distro patch:
https:/
tags: | added: xenial |
To post a comment you must log in.
Hm, near as I can tell debian/ patches/ 1000_configure_ userns is still applied in xenial's shadow and has that content.