Your message dated Mon, 17 Feb 2025 11:52:44 +0000
with message-id <[email protected]>
and subject line Bug#1096187: fixed in shadow 1:4.17.2-4
has caused the Debian Bug report #1096187,
regarding adduser: fails with new src:shadow with chfn: invalid name: ',,'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1096187: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096187
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: adduser
Severity: important
Version: 3.137
X-Debbugs-Cc: [email protected]

Dear Maintainer(s),

Filing on request from Chris.

One of my autopkgtest started failing in unstable since the last shadow
upload. All it does is calling a nested autopkgtest, which attempts to
create a 'test' user inside an LXD container and fails with:

chfn: invalid name: ',,'

Full log:

1483s autopkgtest [03:35:02]: version 5.44
1483s autopkgtest [03:35:02]: host host; command line: /usr/bin/autopkgtest -U 
-B . --test-name=unit-tests --test-name=boot-and-services -- lxd 
autopkgtest/debian/sid/amd64
1490s info: Adding user `test' ...
1490s info: Selecting UID/GID from range 1000 to 59999 ...
1490s info: Adding new group `test' (1000) ...
1490s info: Adding new user `test' (1000) with group `test (1000)' ...
1490s info: Creating home directory `/home/test' ...
1490s info: Copying files from `/etc/skel' ...
1490s chfn: invalid name: ',,'
1490s fatal: `/bin/chfn -w  test' returned error code 1. Exiting.
1492s autopkgtest [03:35:12]: ERROR: "sh -euc #!/bin/sh
1492s # Copyright 2022 Simon McVittie
1492s # SPDX-License-Identifier: GPL-2.0-or-later
1492s
1492s # create-normal-user [USERNAME]
1492s # Create an ordinary, unprivileged user.
1492s
1492s set -eu
1492s
1492s usage () {
1492s     echo "Usage: create-normal-user [USERNAME]" >&2
1492s     exit 2
1492s }
1492s
1492s create () {
1492s     # shellcheck disable=SC3043
1492s     local user="$1"
1492s     shift
1492s
1492s     if command -v adduser >/dev/null; then
1492s         adduser \
1492s             --disabled-login \
1492s             --gecos 'Temporary autopkgtest user,,,' \
1492s             "$user" 2>&1
1492s     elif command -v useradd >/dev/null; then
1492s         useradd \
1492s             --comment 'Temporary autopkgtest user' \
1492s             --create-home \
1492s             --expiredate '' \
1492s             --user-group \
1492s             "$user" 2>&1
1492s     else
1492s         echo "Neither adduser nor useradd is installed" >&2
1492s         return 1
1492s     fi
1492s
1492s     echo "$user" > /run/autopkgtest-normal-user
1492s }
1492s
1492s case "${1-}" in
1492s     (--)
1492s         shift
1492s         ;;
1492s
1492s     (-*)
1492s         usage
1492s         ;;
1492s esac
1492s
1492s if [ "$#" -gt 1 ]; then
1492s     usage
1492s fi
1492s
1492s if [ "$#" -eq 1 ]; then
1492s     create "$1"
1492s     exit 0
1492s fi
1492s
1492s tries=20
1492s
1492s for i in $(seq 0 "$tries"); do
1492s     if [ "$i" = 0 ]; then
1492s         user="test"
1492s     else
1492s         random=$(mktemp /tmp/test-XXXXXX)
1492s         user="$(basename "$random")"
1492s         rm -f "$random"
1492s     fi
1492s
1492s     if getent passwd "$user" >/dev/null; then
1492s         echo "create-normal-user: '$user' already exists"
1492s     else
1492s         create "$user"
1492s         exit 0
1492s     fi
1492s done
1492s
1492s echo "create-normal-user: Unable to generate a new username (tried $tries 
times)" >&2
1492s exit 1
1492s " failed with status 82

https://ci.debian.net/packages/s/systemd/unstable/amd64/57888006/#S55

--- End Message ---
--- Begin Message ---
Source: shadow
Source-Version: 1:4.17.2-4
Done: Chris Hofstaedtler <[email protected]>

We believe that the bug you reported is fixed in the latest version of
shadow, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Hofstaedtler <[email protected]> (supplier of updated shadow package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 17 Feb 2025 12:28:56 +0100
Source: shadow
Architecture: source
Version: 1:4.17.2-4
Distribution: unstable
Urgency: medium
Maintainer: Shadow package maintainers 
<[email protected]>
Changed-By: Chris Hofstaedtler <[email protected]>
Closes: 1096187
Changes:
 shadow (1:4.17.2-4) unstable; urgency=medium
 .
   * Revert upstreams chfn.c strsep change (Closes: #1096187)
Checksums-Sha1:
 610edec8fc221b7915f4d9df923f864a739d17c2 2851 shadow_4.17.2-4.dsc
 48684e76f2e3fcc3eeb582462d3154257ce74c6a 169044 shadow_4.17.2-4.debian.tar.xz
 66fedbfc5c482d1a8419ef1e62929ebc5185e087 9288 shadow_4.17.2-4_arm64.buildinfo
Checksums-Sha256:
 12297edd724336a61658d7b6684f81454819ee7ff283c816c8cc410dd94f3b55 2851 
shadow_4.17.2-4.dsc
 d4adb6b98d3e111bf921e4b1583cd967b518daeb50d7bcc5b6b5947c8d9534e2 169044 
shadow_4.17.2-4.debian.tar.xz
 1ebb21981002a26074ecba24d89400d5bfbe38ff875fdf883f3d69430d421954 9288 
shadow_4.17.2-4_arm64.buildinfo
Files:
 86d21ba431c4e469c0ccc388098ebcb3 2851 admin required shadow_4.17.2-4.dsc
 7002a214225ffe956ec71d036de400bd 169044 admin required 
shadow_4.17.2-4.debian.tar.xz
 c03f0ad7bea8dce82d0b87b1fe64b893 9288 admin required 
shadow_4.17.2-4_arm64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfRrP+tnggGycTNOSXBPW25MFLgMFAmezHjkACgkQXBPW25MF
LgPf6Q/8D1MF2UsuFAJ45dpmFBK9UzVNgfIrwmkQM822XzcC+tC1jCzR3Mm8861P
/V14cXWYmPiw0D9gAqdxsfnS3693oI3/LCvj+P+OGMsiOMYDY0v5/R+Fytdlw9pl
WS0dmGaIYF1LP1LdmAjVo23pxjmhIcbsqrEbvK/VGa0HP4urzIAfpEPKZpq3LcZQ
2gXcIwIR9bKg9/YqzwBQl8GrpJpnnabUtDUdlFrrIVpQEfeY8319v2GZMeJlkiPr
aXpWIvEghwvJx6oVQSTUcjdvvpyrI+Xzkdy6B1I5qLtwYM+nkZ5Zy+T/iN4aqap8
XcXg4jtsPyk2bLSiq+lD3S5mrnh7e3IGxE39/3jwqh5QQDwB8tkzQUMR1r0IgHTu
+YUYM/meqJ73h6S27CJC98oy7a55HcrHOubsZ9GwpMvhVqDGR4e2SUYfMWM6VmYU
NsL2Bm/goasmpYqYqCqjoGl48Aff7+7fQhHJmmvU/DKwhnK+P+/dUvsaxmF2OHts
lCTW04O6QeGYzpbIfY9Mcdm1Q8T6Nadu1S5XvSu0BXO9xzYZxCXOsNp+xoTtoUkd
JDenZFB+RC6LpigZ2gaeUmy1q7pilP7eMoSY/YuZbUkPDrM/z3gjS2/vBiXWhvMr
fodhixhnwZSWtpH8PXdknX5tXYaov60zIn7HujKJmXOkj4OzLNU=
=q1om
-----END PGP SIGNATURE-----

Attachment: pgpSSrRsoGNrf.pgp
Description: PGP signature


--- End Message ---
_______________________________________________
Pkg-shadow-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-shadow-devel

Reply via email to