[debian-lan-devel] [debian-lan] 01/05: sss_cache fails without LC_ALL=C if run by www-data.

Andreas B. Mundt andi at moszumanska.debian.org
Thu May 28 14:29:07 UTC 2015


This is an automated email from the git hooks/post-receive script.

andi pushed a commit to branch master
in repository debian-lan.

commit 1d8226ca311a6a99eae06ac7061b91b3a984a25e
Author: Andreas B. Mundt <andi at debian.org>
Date:   Fri May 8 18:17:56 2015 +0200

    sss_cache fails without LC_ALL=C if run by www-data.
---
 fai/config/files/usr/local/sbin/gosa-create/GOSA | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fai/config/files/usr/local/sbin/gosa-create/GOSA b/fai/config/files/usr/local/sbin/gosa-create/GOSA
index 0468135..1a3b52d 100755
--- a/fai/config/files/usr/local/sbin/gosa-create/GOSA
+++ b/fai/config/files/usr/local/sbin/gosa-create/GOSA
@@ -38,7 +38,7 @@ while read KEY VALUE ; do
                 nscd -i passwd
                 nscd -i group
             fi
-            sss_cache -U -G
+            LC_ALL=C sss_cache -U -G
             chown -R $USERID:$GROUPID $HOMEDIR
             chmod $DIR_MODE $HOMEDIR
             kadmin.local -q "add_principal -randkey -x $USERDN $USERID"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/debian-lan.git



More information about the debian-lan-devel mailing list