[Git][debian-edu/debian-edu-config][personal/sunweaver/first-user-fullname-with-umlauts] ldap-tools/ldap-debian-edu-install: Make sure interactions with debconf are UTF-8 based.
"Mike Gabriel (@sunweaver)" <[email protected]>
| Newsgroups | gmane.linux.skolelinux.cvs |
|---|---|
| Message-ID | <[email protected]> |
Mike Gabriel pushed to branch personal/sunweaver/first-user-fullname-with-umlauts at Debian Edu / debian-edu-config
Commits:
ad6e94a7 by Mike Gabriel at 2026-08-19T22:45:38+02:00
ldap-tools/ldap-debian-edu-install: Make sure interactions with debconf are UTF-8 based.
This resolves GECOS field transliteration after having retrieved
debian-edu-config/first-user-fullname from the debconf db.
(Closes: #939717).
- - - - -
1 changed file:
- ldap-tools/ldap-debian-edu-install
Changes:
=====================================
ldap-tools/ldap-debian-edu-install
=====================================
@@ -1,6 +1,9 @@
#!/bin/bash
set -e
+# Assure that interactions with debconf database are UTF-8 interactions.
+export LANG=C.UTF-8
+
# This script is run during installation of the main server inside Debian Installer.
# Don't ever use it manually! You will definitely ruin your main server!
@@ -111,7 +114,7 @@ fi
################# password available now ##################
lookup_mac_addrs() {
- PATH=/sbin:$PATH LANG=C ifconfig 2>/dev/null | grep -i hwaddr | awk '{print $5}' | sort -u
+ PATH=/sbin:$PATH ifconfig 2>/dev/null | grep -i hwaddr | awk '{print $5}' | sort -u
}
slapd_stop() {
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/ad6e94a7996b55a8aa05d73c07a67620069a8529
--
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/ad6e94a7996b55a8aa05d73c07a67620069a8529
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
_______________________________________________
debian-edu-commits mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-edu-commits