[Pkg-shadow-devel] Bug#1132509: uidmap: getsubids look up /etc/subgid by gid instead of uid when using numerical values
Johannes Schauer Marin Rodrigues
josch at debian.org
Wed Apr 1 22:46:29 BST 2026
Hi Jochen,
Quoting Aurelien Jarno (2026-04-01 22:40:01)
> Since version 0.91.6, sbuild started to use getsubids to parse
> /etc/subgid [1]. The format of this file is supposed to be [2]:
>
> login name or UID : numerical subordinate group ID : numerical subordinate group ID count
>
> Unfortunately getsubids parses it as login name or *GID*. This breaks
> when this file contains UID and when UID != GID:
this bug is a bit funny because you fixed the reverse issue in mmdebstrap :)
https://gitlab.mister-muffin.de/josch/mmdebstrap/commit/374ae3dc99e5d8a5a176939c3846e790e890a0e7
I'd also like to move mmdebstrap from /etc/subgid parsing to calling getsubids
if available (since oldoldstable).
Thanks!
cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-shadow-devel/attachments/20260401/05d0a119/attachment.sig>
More information about the Pkg-shadow-devel
mailing list