Bug#1104550: debian-cd: fails to create user when keyboard layout is specified as Turkish Q

Pascal Hambourg <[email protected]>
Newsgroups gmane.linux.debian.devel.cd
Organization Plouf !
Message-ID <2a265288-e063-4428-a283-6a1b94ce780a__19592.633230944$1746619462$gmane$org@plouf.fr.eu.org>
Control: retitle -1 d-i fails to create user with non-ASCII full name
Control: reassign -1 user-setup 1.104

On Fri, 2 May 2025 13:56:35 +0200 Şükrü Eren Gökırmak wrote:
> On Thu, 1 May 2025 23:57:16 +0200 Pascal Hambourg <[email protected]>
> wrote:
>> On Thu, 01 May 2025 23:11:00 +0200 Şükrü Eren Gökırmak wrote:
>>>
>>> I was trying to install Debian testing on my computer. I picked the
>>> Turkish Q keyboard layout,
>>> as that is my laptop's layout. I then used a username which has only
>>> latin characters,
>>
>> Did you use non-ASCII characters in the full name ?
>
> No I didn't. I retried the installation without non-ASCII characters now
> and that worked.
> 
>> This looks like bug #1101196 (adduser does not allow non-ASCII
>> characters in full name).
>
> You're right. I tried the same setup with all-ASCII characters in the full
> name and that worked fine. I thought that since the username and password
> were all-ASCII it would work correctly.

This is a normal expectation. The bug is caused by the combination of 
user-setup (the installer component in charge of setting up the user 
account) not doing full name sanitation and adduser (the program used to 
actually create the user in the installed system) starting doing overly 
strict sanitation.

Upcoming adduser version 3.152 relaxes full name sanitation to allow 
non-ASCII characters again, but user-setup should still ensure that user 
creation does not fail because of forbidden characters in the full name, 
so reassigning this bug to user-setup.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.