Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1288152

Bug#1132509: uidmap: getsubids look up /etc/subgid by gid instead of uid when using numerical values

From Johannes Schauer Marin Rodrigues <josch@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1132509: uidmap: getsubids look up /etc/subgid by gid instead of uid when using numerical values
Date 2026-04-01 23:50 +0200
Message-ID <MFbBL-bZna-5@gated-at.bofh.it> (permalink)
References <MFaFI-bYKy-7@gated-at.bofh.it> <MFaFI-bYKy-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Find similar


Thread

Bug#1132509: uidmap: getsubids look up /etc/subgid by gid instead of uid when using numerical values Aurelien Jarno <aurel32@debian.org> - 2026-04-01 22:50 +0200
  Bug#1132509: [Pkg-shadow-devel] Bug#1132509: uidmap: getsubids look up /etc/subgid by gid instead of uid when using numerical values "Serge E. Hallyn" <serge@hallyn.com> - 2026-04-01 23:30 +0200
    Bug#1132509: [Pkg-shadow-devel] Bug#1132509: uidmap: getsubids look up /etc/subgid by gid instead of uid when using numerical values Chris Hofstaedtler <zeha@debian.org> - 2026-04-02 19:50 +0200
      Bug#1132509: [Pkg-shadow-devel] Bug#1132509: uidmap: getsubids look up /etc/subgid by gid instead of uid when using numerical values Aurelien Jarno <aurel32@debian.org> - 2026-04-02 20:00 +0200
        Bug#1132509: [Pkg-shadow-devel] Bug#1132509: uidmap: getsubids look up /etc/subgid by gid instead of uid when using numerical values Chris Hofstaedtler <zeha@debian.org> - 2026-04-03 12:00 +0200
          Bug#1132509: [Pkg-shadow-devel] Bug#1132509: uidmap: getsubids look up /etc/subgid by gid instead of uid when using numerical values Jochen Sprickerhof <jspricke@debian.org> - 2026-04-03 17:30 +0200
          Bug#1132509: [Pkg-shadow-devel] Bug#1132509: uidmap: getsubids look up /etc/subgid by gid instead of uid when using numerical values Aurelien Jarno <aurel32@debian.org> - 2026-04-03 20:00 +0200
    Bug#1132509: [Pkg-shadow-devel] Bug#1132509: uidmap: getsubids look up /etc/subgid by gid instead of uid when using numerical values Aurelien Jarno <aurel32@debian.org> - 2026-04-02 20:00 +0200
  Bug#1132509: uidmap: getsubids look up /etc/subgid by gid instead of uid when using numerical values Johannes Schauer Marin Rodrigues <josch@debian.org> - 2026-04-01 23:50 +0200

csiph-web