mmdebstrap uses group name instead of user name for /etc/subgid lookup
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| mmdebstrap (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Bug Description
For the unshare mode of operation, mmdebstrap checks /etc/subgid for the user's primary group name to see if rootless operation is correctly configured. This is however not the correct behaviour as /etc/subgid contains the user name and the allowed GID map. This prevents proper configuration when the user's primary group name does not coincide with the user name.
This issue has been fixed by upstream already in commit https:/
Thanks a lot!
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: mmdebstrap 0.8.4-1ubuntu0.1
ProcVersionSign
Uname: Linux 5.15.0-122-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckR
Date: Sun Oct 20 09:08:14 2024
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C.UTF-8
SHELL=/bin/zsh
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: mmdebstrap
UpgradeStatus: No upgrade log present (probably fresh install)
