Bug#939717: Failure to install tjener if the first username is not full ASCII

Mike Gabriel <[email protected]>
Newsgroups gmane.linux.skolelinux.devel
Organization DAS-NETZWERKTEAM
Message-ID <20260819205011.Horde.xjTVqpRzcwH75u7p8eRcfYe__34194.8504139268$1787172806$gmane$org@mail.das-netzwerkteam.de>
Hi David, hi all,

long time not addressed, but maybe today...

On  So 08 Sep 2019 05:27:51 CEST, David Prévot wrote:

> Package: debian-edu-config
> Version: 2.10.65
> Severity: normal
>
> Hi,
>
> Providing non-ASCII characters in the first user name during d-i makes
> the installation fail to set up correctly ldap and thus breaks all
> usability of tjener (krb5, isc-dhcp and samba fail to start after the
> installation, GOsa is not set up, one can’t login with the initial
> credentials…).
>
> Looking at /var/log/installer/syslog, it looks like the
> ldap-debian-edu-install fails:
>
>> cf-agent[…]: CFEngine(agent)  Executing 'no timeout' ...  
>> '/usr/bin/ldap-debian-edu-install'
>> cf-agent[…]: CFEngine(agent)  Finished command related to promiser  
>> '/usr/bin/ldap-debian-edu-install' -- an error occurred, returned 1
>> cf-agent[…]: CFEngine(agent)  Q: "...du-install": iconv: illegal  
>> input sequence at position 1
>> cf-agent[…]: CFEngine(agent)  Last 1 quoted lines were generated by  
>> promiser '/usr/bin/ldap-debian-edu-install'
>> cf-agent[…]: CFEngine(agent)  Completed execution of  
>> '/usr/bin/ldap-debian-edu-install'
>
> (the not failing log split more than two hundred lines, the first ones
> starting with slapadd:).
>
> Reproducing is easy, just using e.g., “tété” as user full name (the
> preseed-like passwd/user-fullname string) makes a broken system.
>
> Regards
>
> David

I assume the problem is that the ldap-debian-edu-install script is run  
with LANG=C instead of LANG=C.UTF-8. Or maybe it is today (Debian  
13+), but was not so in Debian 10.

Let's see, one of my coworks will run some tests. See:  
https://salsa.debian.org/debian-edu/debian-edu-config/-/merge_requests/52

Mike
-- 

mike gabriel aka sunweaver (Debian Developer)
mobile: +49 (1520) 1976 148
landline: +49 (4351) 486 14 27

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: [email protected], http://sunweavers.net
signature.asc (application/pgp-signature, 851 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIzBAABCgAdFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmqGFwIACgkQmvRrMCV3
GzGsMw/9FslHtHc2BDnBTmVYjTrj0kdyFNNM9QFgGXDWgunddui1SKbbZYgUl4+w
ZeN0yJRYzb2zUE08Eot/VrxDojvk4HAYSpMwK8zPp7NL1ItVa44L7cQ6p9dnB2s4
rN1MmO3c8bM2URshXwkZNs9r0lptqKuWuF9kjLOubcN/mRRL+m3m9oft5d125cwX
A37/zleer9H94+eprlWc5xgC2O6TZQJ4dn8E7AP3iVKvrljWSXIj9umHI5kNePVM
0zOt/pRlZNJsXjKSc6qn5g1j0sV452pPo7rDwz9PbQigN2MIO+cGpp4Xr1lEpSf0
Zd69es9ETFCs/SWBg02Z+4lW/HwbsNQpCVyTP0+scgIyGIk4AV5vJEnqIkiWT9xk
ayjJGc098Vm5SYP9VxcEY5Va5rCigBHEmF5BUCbTV+ecE0MDv2Ede4MRBeKg89zS
NAhL2E7+zV18lBT1XC5JAKciFeONxsWeCqchM40bzIDTDN3eIIGtQ7uszA702RCF
P5glwZ/PTyCn4LBN0sBI5yvAIgHdugJzgmtm+woUpd0UT+07gBjl4cEp13fb/lkx
jzwz2hjEDhfPVqPMQ3M8idKAuS2JdbrjBiwKpRoL0w5SpkstpdyasD+sHqqoa47P
3hChDcrTm6kmlPn/4m7Tvx5E+KhpFTWOrtlYjGj8hmPnBl5O/Ws=
=hEkm
-----END PGP SIGNATURE-----
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.