Public bug reported: /usr/bin/mk-sbuild line 301:
sudo adduser "$USER" sbuild should be: sudo usermod -a -G sbuild "$USER" otherwise it fails with the message: fatal: Only one or two names allowed. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: ubuntu-dev-tools 0.201ubuntu2 Uname: Linux 5.15.146.1-microsoft-standard-WSL2 x86_64 ApportVersion: 2.28.1-0ubuntu2 Architecture: amd64 CasperMD5CheckResult: unknown CloudBuildName: ubuntu-oci:minimized CloudSerial: 20240423 Date: Mon Apr 29 11:54:10 2024 PackageArchitecture: all ProcEnviron: PATH=(custom, no user) TERM=xterm SourcePackage: ubuntu-dev-tools UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: ubuntu-dev-tools (Ubuntu) Importance: Undecided Status: Invalid ** Tags: amd64 apport-bug cloud-image noble ** Description changed: /usr/bin/mk-sbuild line 301: - sudo adduser "$USER" sbuild + sudo adduser "$USER" sbuild should be: - sudo adduser "$USER" -G sbuild + sudo usermod -a -G sbuild "$USER" otherwise it fails with the message: - fatal: Only one or two names allowed. + fatal: Only one or two names allowed. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: ubuntu-dev-tools 0.201ubuntu2 Uname: Linux 5.15.146.1-microsoft-standard-WSL2 x86_64 ApportVersion: 2.28.1-0ubuntu2 Architecture: amd64 CasperMD5CheckResult: unknown CloudBuildName: ubuntu-oci:minimized CloudSerial: 20240423 Date: Mon Apr 29 11:54:10 2024 PackageArchitecture: all ProcEnviron: - PATH=(custom, no user) - TERM=xterm + PATH=(custom, no user) + TERM=xterm SourcePackage: ubuntu-dev-tools UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064112 Title: mk-sbuild fails to add user to group on first run To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/2064112/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs