-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Wed, 14 May 2025 14:34:16 +0200 Source: user-setup Architecture: source Version: 1.105 Distribution: unstable Urgency: medium Maintainer: Debian Install System Team <debian-boot@lists.debian.org> Changed-By: Cyril Brulebois <kibi@debian.org> Changes: user-setup (1.105) unstable; urgency=medium . [ Pascal Hambourg ] * Replace --gecos with --comment in adduser invocation, as suggested by the documentation (deprecation notice). * Set the full name with chfn instead of adduser: - adduser 3.152 relaxes checks on what's getting passed via --comment (see #1101678). - To be safe, with an older adduser or with further versions that would refine the checks, pass the username through --comment as a first step, then use chfn to try and set the fullname. - This should ensure that d-i can create users (instead of silently failing, see #1101196, #1101196, and #1104550). If chfn fails for some reason, d-i continues, and the username stays in the comment field instead of the specified fullname. * Stop setting LANG=C: - C.UTF-8 is used in d-i, is available in the installed system, so using C instead doesn't seem needed. - Worse, it can be counterproductive and trigger an indefinite hang in some conditions (see #1104726). * Sanitize fullname, which should ensure chfn can be used to perform the username/fullname substitution mentioned above: - Replace colon, comma, equal sign, ampersand, and control characters with spaces. - Squeeze repeated spaces. - Remove leading and trailing spaces. Checksums-Sha1: 947065061bec41462684299e5babbb362fdd0627 1759 user-setup_1.105.dsc 7ffc1fc56a0c8a6888d332dae4beae47f5176d05 131788 user-setup_1.105.tar.xz 4b6be3b2f3b4042948ab5970f76978f5b2ed5cef 6857 user-setup_1.105_source.buildinfo Checksums-Sha256: 74310c20082dbbda4f7a3b182b6565a120dbe8e271cde410f789d4362b399257 1759 user-setup_1.105.dsc 1288d1874a61793ab5640ba31653159285da0b24101a65bb5a1a7bcd39eeb635 131788 user-setup_1.105.tar.xz fc1d0398a3a3b643ba2ea3cf920ad5371f32a7df665f1d8ad2e03ff55bdff231 6857 user-setup_1.105_source.buildinfo Files: c3dc378fc040f58b2b0f6be40ee51611 1759 debian-installer optional user-setup_1.105.dsc 358e60c516591e407f5fb54b1ec5a100 131788 debian-installer optional user-setup_1.105.tar.xz 02c10e87f26bc1f918f44608f6389357 6857 debian-installer optional user-setup_1.105_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJEBAEBCgAuFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAmgkjlYQHGtpYmlAZGVi aWFuLm9yZwAKCRD/kUrwwrNVIEtMEAChdONYKO53XB+H9tUir0oE0pKqwUswaO/Q 0nTRqJo5vm5RYO1rM5qQE+r3FtKQH0RnO+PElhBBbdHpnxxIUmrFBTv+UkBzOH1E cS6vehXkzUPlLjiywgjxZ5JSk1f3wEYAZvLjyRvbYLQ+euN2aQ26lFIA4UsE05sP ClB9P2BWL/ouxE24naID0If5T/qPzQvJoMOrPrSMDF6RkV9GRvwMWfRHzetnN9vw q3Vyl4hTr2h00lu/9irqICW233KTS0My/Ps3oc8HurjwFP7PVD88zyF0mW0mnd6w qZ4kVltU1wbxhAwlR95hnCXLA7aUiy2eTG8OydzhnsK9q6KGae4lRU+gIs1GaPBL VY4F72jDIn0BzAbhj+gIq8zLm8Su/VPs+OH7+bP4qpVDyB967QPaPoahaM+T4zO3 JOs5wv7wFOn1baQJTndY+Cthqrp99ohktPIlnYYPd0gosoPO6NVgCjMzp1bstMYF 51C1XhdmgG9Pby3e7WQlBafOaAnLo5jTR0sXC0WtgdjzzKiQ4Mzlr9PwCxYkA+/q P4EeS38Ss79SzLl4oik3k3KEE7f++TOHU5gDwsYcaYdrZga3jqJ70XeTdFWTD1re pYzQX4FLcdOkBOJ2d5vbv5Y1Juma1vQE4BNiCfRNEbe0slXPPUE8oI4qr10zcHOZ GeFY2KeVmg== =IRWE -----END PGP SIGNATURE-----