[debian-edu-commits] [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)
gitlab at salsa.debian.org
Wed Aug 19 21:38:44 BST 2026
Mike Gabriel pushed to branch personal/sunweaver/first-user-fullname-with-umlauts at Debian Edu / debian-edu-config
Commits:
7af3dc76 by Mike Gabriel at 2026-08-19T22:38:17+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:
- - - - -
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 interaction 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/7af3dc7603c0b0107922e822af6daf31cc6a858a
--
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/7af3dc7603c0b0107922e822af6daf31cc6a858a
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20260819/1d78d3c7/attachment-0001.htm>
More information about the debian-edu-commits
mailing list